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