diff options
author | Eric Guzman | 2012-05-27 17:19:07 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-27 17:19:07 -0700 |
commit | f277cbad9bbfc077fc37546758b85408419951f2 (patch) | |
tree | 80615314dc5ecb371989663411f5781d4279c10d /js/panels/css-panel/styles-view-delegate.js | |
parent | a00e1f30c3da3053574c982ddfacca12e32c12b2 (diff) | |
download | ninja-f277cbad9bbfc077fc37546758b85408419951f2.tar.gz |
CSS Panel - Prevent Animation on New Style
Diffstat (limited to 'js/panels/css-panel/styles-view-delegate.js')
-rw-r--r-- | js/panels/css-panel/styles-view-delegate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/css-panel/styles-view-delegate.js b/js/panels/css-panel/styles-view-delegate.js index 5229b92e..d607a0ba 100644 --- a/js/panels/css-panel/styles-view-delegate.js +++ b/js/panels/css-panel/styles-view-delegate.js | |||
@@ -145,7 +145,7 @@ exports.StylesViewDelegate = Montage.create(Component, { | |||
145 | if(nextFocus) { | 145 | if(nextFocus) { |
146 | nextFocus.propertyField.start(); | 146 | nextFocus.propertyField.start(); |
147 | } else if(style.dirty) { | 147 | } else if(style.dirty) { |
148 | style.parentComponent.parentComponent.addNewStyle(); | 148 | style.parentComponent.parentComponent.addNewStyle(true); |
149 | style.editingNewStyle = false; | 149 | style.editingNewStyle = false; |
150 | setTimeout(function() { | 150 | setTimeout(function() { |
151 | style.getSiblingStyle('next').propertyField.start(); | 151 | style.getSiblingStyle('next').propertyField.start(); |