diff options
author | Jose Antonio Marquez | 2012-06-23 19:20:11 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-23 19:20:11 -0700 |
commit | 1005ff940d65a6717653d28b81d10564e4434dea (patch) | |
tree | 7da6c17a3a7485ed016a818da21acd8992c5628f /js/components/tools-properties/pen-properties.reel | |
parent | a177f4d3a534795f4229128be4316e37d51555d9 (diff) | |
download | ninja-1005ff940d65a6717653d28b81d10564e4434dea.tar.gz |
Adding gradient mode to tools
Tools need to implement using gradients on pre-flight mode, so right now this will only set/get color but will now apply on draw until tools are made to apply color. This should be filed as individual issues per tool.
Diffstat (limited to 'js/components/tools-properties/pen-properties.reel')
-rwxr-xr-x | js/components/tools-properties/pen-properties.reel/pen-properties.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |