summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/editor/EditorToolbar.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-09-30 12:36:42 -0400
committerJules Laplace <jules@okfoc.us>2014-09-30 12:36:42 -0400
commit742f4cc410bb04421800d7462f81fc64c59aa0bc (patch)
tree73eb5a73042e8064fc20868a69ae351116a0964d /public/assets/javascripts/ui/editor/EditorToolbar.js
parentc0c11162c5124f5452fe162b31d708be5ec40fcc (diff)
tracing menu appearing/disappearing logic ; set title from filename
Diffstat (limited to 'public/assets/javascripts/ui/editor/EditorToolbar.js')
-rw-r--r--public/assets/javascripts/ui/editor/EditorToolbar.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/editor/EditorToolbar.js b/public/assets/javascripts/ui/editor/EditorToolbar.js
index bc56d88..9c74c7c 100644
--- a/public/assets/javascripts/ui/editor/EditorToolbar.js
+++ b/public/assets/javascripts/ui/editor/EditorToolbar.js
@@ -37,15 +37,18 @@ var EditorToolbar = View.extend({
this.resetMode()
this.resetControls()
},
-
+
resetMode: function(){
this.resizeMedia(true)
this.destroyMedia(false)
+ app.controller.hideExtras()
},
resetControls: function(){
+ $(".inuse").removeClass("inuse")
this.parent.wallpaperPicker.hide()
this.parent.lightControl.hide()
+ this.parent.settings.hide()
},
resizeMedia: function(e, state){