aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/geom/brush-stroke.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js
index d849e3d7..22209815 100755
--- a/js/lib/geom/brush-stroke.js
+++ b/js/lib/geom/brush-stroke.js
@@ -545,8 +545,8 @@ var BrushStroke = function GLBrushStroke() {
545 var newLeft = Math.round(this._stageWorldCenter[0] - 0.5 * bboxWidth); 545 var newLeft = Math.round(this._stageWorldCenter[0] - 0.5 * bboxWidth);
546 var newTop = Math.round(this._stageWorldCenter[1] - 0.5 * bboxHeight); 546 var newTop = Math.round(this._stageWorldCenter[1] - 0.5 * bboxHeight);
547 //assign the new position, width, and height as the canvas dimensions through the canvas controller 547 //assign the new position, width, and height as the canvas dimensions through the canvas controller
548 CanvasController.setProperty(this._canvas, "left", newLeft+"px"); 548 //CanvasController.setProperty(this._canvas, "left", newLeft+"px");
549 CanvasController.setProperty(this._canvas, "top", newTop+"px"); 549 //CanvasController.setProperty(this._canvas, "top", newTop+"px");
550 550
551 CanvasController.setProperty(this._canvas, "width", bboxWidth+"px"); 551 CanvasController.setProperty(this._canvas, "width", bboxWidth+"px");
552 CanvasController.setProperty(this._canvas, "height", bboxHeight+"px"); 552 CanvasController.setProperty(this._canvas, "height", bboxHeight+"px");