diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-08-26 12:30:06 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-08-26 12:30:06 -0400 |
| commit | 9bd30008c165fdb561f574dd2f83c35e609c96b1 (patch) | |
| tree | c9de88c74111956813bd4190336e40125a9451c8 /public/assets/javascripts/ui/editor/EditorToolbar.js | |
| parent | 289e422ca281fd59749c2353f193540f4fab981c (diff) | |
editor pick styles
Diffstat (limited to 'public/assets/javascripts/ui/editor/EditorToolbar.js')
| -rw-r--r-- | public/assets/javascripts/ui/editor/EditorToolbar.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/assets/javascripts/ui/editor/EditorToolbar.js b/public/assets/javascripts/ui/editor/EditorToolbar.js index 5e0da7e..c631317 100644 --- a/public/assets/javascripts/ui/editor/EditorToolbar.js +++ b/public/assets/javascripts/ui/editor/EditorToolbar.js @@ -56,6 +56,11 @@ var EditorToolbar = View.extend({ $(".inuse").removeClass("inuse") $("[data-role='resize-media']").toggleClass("inuse", state) if (state) { + if (this.parent.mediaEditor.scenery) { + Scenery.resize.show( this.parent.mediaEditor.scenery ) + } + } + else { Scenery.resize.hide() } }, |
