Commit 99c87264 authored by Randall Leeds's avatar Randall Leeds

rename actuallyShowFrame -> showFrame

O_O
parent 9e853fb1
...@@ -35,7 +35,7 @@ class Annotator.Host extends Annotator.Guest ...@@ -35,7 +35,7 @@ class Annotator.Host extends Annotator.Guest
app.appendTo(@frame) app.appendTo(@frame)
if options.firstRun if options.firstRun
this.on 'panelReady', => this.actuallyShowFrame(transition: false) this.on 'panelReady', => this.showFrame(transition: false)
# Host frame dictates the toolbar options. # Host frame dictates the toolbar options.
this.on 'panelReady', => this.on 'panelReady', =>
...@@ -49,7 +49,7 @@ class Annotator.Host extends Annotator.Guest ...@@ -49,7 +49,7 @@ class Annotator.Host extends Annotator.Guest
if @frame.hasClass 'annotator-collapsed' if @frame.hasClass 'annotator-collapsed'
this.showFrame() this.showFrame()
actuallyShowFrame: (options={transition: true}) -> showFrame: (options={transition: true}) ->
unless @drag.enabled unless @drag.enabled
@frame.css 'margin-left': "#{-1 * @frame.width()}px" @frame.css 'margin-left': "#{-1 * @frame.width()}px"
if options.transition if options.transition
...@@ -63,7 +63,7 @@ class Annotator.Host extends Annotator.Guest ...@@ -63,7 +63,7 @@ class Annotator.Host extends Annotator.Guest
channel channel
.bind 'showFrame', (ctx) => this.actuallyShowFrame() .bind 'showFrame', (ctx) => this.showFrame()
.bind('hideFrame', (ctx) => .bind('hideFrame', (ctx) =>
@frame.css 'margin-left': '' @frame.css 'margin-left': ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment