aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/rectangle.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-08-15 14:52:25 -0700
committerValerio Virgillito2012-08-15 14:52:25 -0700
commit34804fa77191a08fcdaa8ca1992b38e60094f3ae (patch)
tree9eafadc20bb792b4058572ff1e12440428fe7c74 /js/lib/geom/rectangle.js
parenta9ff54e7490761a7c0ad572d060ee386179d11df (diff)
parentc88752d621069b12f978c1fd88ffdd52537a4657 (diff)
downloadninja-34804fa77191a08fcdaa8ca1992b38e60094f3ae.tar.gz
Merge branch 'refs/heads/v0.7.2'
Diffstat (limited to 'js/lib/geom/rectangle.js')
-rwxr-xr-xjs/lib/geom/rectangle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/rectangle.js b/js/lib/geom/rectangle.js
index f3db92af..b34a97ab 100755
--- a/js/lib/geom/rectangle.js
+++ b/js/lib/geom/rectangle.js
@@ -603,7 +603,7 @@ exports.Rectangle = Object.create(GeomObj, {
603 603
604 // render the stroke 604 // render the stroke
605 ctx.beginPath(); 605 ctx.beginPath();
606 if (this._strokeColor) { 606 if (this._strokeColor && (lw > 0)) {
607 inset = Math.ceil( 0.5*lw ) - 0.5; 607 inset = Math.ceil( 0.5*lw ) - 0.5;
608 608
609 if(this._strokeColor.gradientMode) { 609 if(this._strokeColor.gradientMode) {