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/brush-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/brush-properties.reel')
-rwxr-xr-x | js/components/tools-properties/brush-properties.reel/brush-properties.js | 2 |
1 files changed, 1 insertions, 1 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); |