aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-28 14:31:07 -0700
committerJose Antonio Marquez2012-06-28 14:31:07 -0700
commitd9f048d5c11a40e6ee0390369fb39d73fc3f5bcc (patch)
tree82984e11a4103265674bb27161a3f76023f9caae /js/components/tools-properties
parentee1adbcc33932bc27966c02b159a3ab06966d4a5 (diff)
parent3ba9accb8e1887bfd6f1f912b6135073a3d9c70c (diff)
downloadninja-d9f048d5c11a40e6ee0390369fb39d73fc3f5bcc.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'js/components/tools-properties')
-rwxr-xr-xjs/components/tools-properties/brush-properties.reel/brush-properties.js2
-rwxr-xr-xjs/components/tools-properties/fill-properties.reel/fill-properties.js2
-rwxr-xr-xjs/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js2
-rwxr-xr-xjs/components/tools-properties/pen-properties.reel/pen-properties.js4
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.js4
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.js2
6 files changed, 8 insertions, 8 deletions
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.js b/js/components/tools-properties/brush-properties.reel/brush-properties.js
index 1af128af..d1f97260 100755
--- a/js/components/tools-properties/brush-properties.reel/brush-properties.js
+++ b/js/components/tools-properties/brush-properties.reel/brush-properties.js
@@ -74,7 +74,7 @@ var BrushProperties = exports.BrushProperties = Montage.create(ToolProperties, {
74 Object.getPrototypeOf(BrushProperties).draw.call(this); 74 Object.getPrototypeOf(BrushProperties).draw.call(this);
75 75
76 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 76 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
77 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 77 this._fillColorCtrl.props = {side: 'top', align: 'left', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: 8};
78 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl); 78 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl);
79 79
80 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); 80 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false);
diff --git a/js/components/tools-properties/fill-properties.reel/fill-properties.js b/js/components/tools-properties/fill-properties.reel/fill-properties.js
index ef1699af..11dec294 100755
--- a/js/components/tools-properties/fill-properties.reel/fill-properties.js
+++ b/js/components/tools-properties/fill-properties.reel/fill-properties.js
@@ -60,7 +60,7 @@ var FillProperties = exports.FillProperties = Montage.create(ToolProperties, {
60 Object.getPrototypeOf(FillProperties).draw.call(this); 60 Object.getPrototypeOf(FillProperties).draw.call(this);
61 61
62 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 62 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
63 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 63 this._fillColorCtrl.props = {side: 'top', align: 'left', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: 8};
64 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl); 64 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl);
65 65
66 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); 66 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false);
diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
index 25823d11..9ae7c5bc 100755
--- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
+++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js
@@ -100,7 +100,7 @@ var InkBottleProperties = exports.InkBottleProperties = Montage.create(ToolPrope
100 100
101 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 101 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
102 // setup stroke color 102 // setup stroke color
103 this._strokeColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 103 this._strokeColorCtrl.props = {side: 'top', align: 'left', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: 8};
104 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl); 104 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl);
105 105
106 this._strokeColorCtrl.addEventListener("change", this.handleStrokeColorChange.bind(this), false); 106 this._strokeColorCtrl.addEventListener("change", this.handleStrokeColorChange.bind(this), false);
diff --git a/js/components/tools-properties/pen-properties.reel/pen-properties.js b/js/components/tools-properties/pen-properties.reel/pen-properties.js
index 78065b99..4f7e3474 100755
--- a/js/components/tools-properties/pen-properties.reel/pen-properties.js
+++ b/js/components/tools-properties/pen-properties.reel/pen-properties.js
@@ -111,11 +111,11 @@ var PenProperties = exports.PenProperties = Montage.create(ToolProperties, {
111 111
112 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 112 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
113 // setup fill color 113 // setup fill color
114 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 114 this._fillColorCtrl.props = {side: 'top', align: 'center', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: -80};
115 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl); 115 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl);
116 116
117 // setup stroke color 117 // setup stroke color
118 this._strokeColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 118 this._strokeColorCtrl.props = {side: 'top', align: 'center', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: -80};
119 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl); 119 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl);
120 120
121 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); 121 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false);
diff --git a/js/components/tools-properties/shape-properties.reel/shape-properties.js b/js/components/tools-properties/shape-properties.reel/shape-properties.js
index 7306275a..e6b71f95 100755
--- a/js/components/tools-properties/shape-properties.reel/shape-properties.js
+++ b/js/components/tools-properties/shape-properties.reel/shape-properties.js
@@ -125,11 +125,11 @@ var ShapeProperties = exports.ShapeProperties = Montage.create(ToolProperties, {
125 125
126 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 126 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
127 // setup fill color 127 // setup fill color
128 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 128 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: -80 };
129 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl); 129 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl);
130 130
131 // setup stroke color 131 // setup stroke color
132 this._strokeColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 132 this._strokeColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: -80 };
133 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl); 133 this.application.ninja.colorController.addButton("chip", this._strokeColorCtrl);
134 134
135 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); 135 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false);
diff --git a/js/components/tools-properties/tag-properties.reel/tag-properties.js b/js/components/tools-properties/tag-properties.reel/tag-properties.js
index d38419aa..ab745049 100755
--- a/js/components/tools-properties/tag-properties.reel/tag-properties.js
+++ b/js/components/tools-properties/tag-properties.reel/tag-properties.js
@@ -65,7 +65,7 @@ var TagProperties = exports.TagProperties = Montage.create(ToolProperties, {
65 Object.getPrototypeOf(TagProperties).draw.call(this); 65 Object.getPrototypeOf(TagProperties).draw.call(this);
66 66
67 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) { 67 if (this.addedColorChips === false && this.application.ninja.colorController.colorPanelDrawn) {
68 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: false, image: false, nocolor: true, offset: -80 }; 68 this._fillColorCtrl.props = { side: 'top', align: 'center', wheel: true, palette: true, gradient: true, image: false, nocolor: true, offset: -80 };
69 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl); 69 this.application.ninja.colorController.addButton("chip", this._fillColorCtrl);
70 70
71 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); 71 this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false);