aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-29 14:57:00 -0700
committerValerio Virgillito2012-06-29 14:57:00 -0700
commitec69c8761f798eaf39c4a154997f8bc54b7e47f4 (patch)
tree4f4136503c87a72f7af67a54dad69c14469ee01e /js/controllers/styles-controller.js
parentecd9e3b3b09695e3e7115c04e75add5a20c5c6fe (diff)
parent81d75ac08ff24dc3078d79a9133e54f592c23026 (diff)
downloadninja-ec69c8761f798eaf39c4a154997f8bc54b7e47f4.tar.gz
Merge pull request #362 from mqg734/ColorGradientFix
Fixed not being able to draw linear and radial gradients and two other tools bugs.
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-xjs/controllers/styles-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index e25ed20c..478fc1db 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -1440,11 +1440,11 @@ var stylesController = exports.StylesController = Montage.create(Component, {
1440 1440
1441 ///// Dispatch modified event 1441 ///// Dispatch modified event
1442 NJevent('styleSheetModified', eventData); 1442 NJevent('styleSheetModified', eventData);
1443 this.currentDocument.model.needsSave = true;
1443 1444
1444 ///// If the sheet doesn't already exist in the list of modified 1445 ///// If the sheet doesn't already exist in the list of modified
1445 ///// sheets, dispatch dirty event and add the sheet to the list 1446 ///// sheets, dispatch dirty event and add the sheet to the list
1446 if(sheetSearch.length === 0) { 1447 if(sheetSearch.length === 0) {
1447 this.currentDocument.model.needsSave = true;
1448 this.dirtyStyleSheets.push({ 1448 this.dirtyStyleSheets.push({
1449 document : sheet.ownerNode.ownerDocument, 1449 document : sheet.ownerNode.ownerDocument,
1450 stylesheet : sheet 1450 stylesheet : sheet