diff options
author | Pushkar Joshi | 2012-03-27 09:38:02 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-03-27 09:38:02 -0700 |
commit | c6b91c52cba4ea4972ecc07a237f543e35d608b9 (patch) | |
tree | e16cb634d8b8238fd9ff079900515c90c1a682cf /js | |
parent | 0c26aff9c19c2b39fca06fa6b3bc76b672204065 (diff) | |
download | ninja-c6b91c52cba4ea4972ecc07a237f543e35d608b9.tar.gz |
add a setfillcolor to brush stroke so the default fillcolor handler does not get called
Diffstat (limited to 'js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 70429ca9..9c8822a7 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -188,6 +188,10 @@ var BrushStroke = function GLBrushStroke() { | |||
188 | this._strokeColor = c; this._isDirty = true; | 188 | this._strokeColor = c; this._isDirty = true; |
189 | }; | 189 | }; |
190 | 190 | ||
191 | this.setFillColor = function(c){ | ||
192 | return; | ||
193 | }; //NO-OP for now as we have no fill region | ||
194 | |||
191 | this.setSecondStrokeColor = function(c){ | 195 | this.setSecondStrokeColor = function(c){ |
192 | this._secondStrokeColor=c; this._isDirty = true; | 196 | this._secondStrokeColor=c; this._isDirty = true; |
193 | } | 197 | } |