aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/tag-properties.reel/tag-properties.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-23 19:20:11 -0700
committerJose Antonio Marquez2012-06-23 19:20:11 -0700
commit1005ff940d65a6717653d28b81d10564e4434dea (patch)
tree7da6c17a3a7485ed016a818da21acd8992c5628f /js/components/tools-properties/tag-properties.reel/tag-properties.js
parenta177f4d3a534795f4229128be4316e37d51555d9 (diff)
downloadninja-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/tag-properties.reel/tag-properties.js')
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.js2
1 files changed, 1 insertions, 1 deletions
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);