aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-22 11:10:29 -0700
committerNivesh Rajbhandari2012-03-22 11:10:29 -0700
commit92854b266936f844370688da3b15d035a041e8c2 (patch)
tree8892e71ed4925bdf8d49a74b8e76daf000ed61fa /js
parent3dc67f3e68b07b1953ed0f6fa6573a13bc4d5831 (diff)
downloadninja-92854b266936f844370688da3b15d035a041e8c2.tar.gz
Translation handles do not redraw at correct location when double-clicking to reset.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js
index 07b6d04d..b7bce2be 100755
--- a/js/tools/Translate3DToolBase.js
+++ b/js/tools/Translate3DToolBase.js
@@ -126,8 +126,11 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
126 this.isDrawing = false; 126 this.isDrawing = false;
127 this.endDraw(event); 127 this.endDraw(event);
128 128
129// this.UpdateSelection(true); 129
130 this.Configure(true); 130 // Need to force stage to draw immediately so the new selection center is calculated
131 this.application.ninja.stage.draw();
132 // And captureSelectionDrawn to draw the transform handles
133 this.captureSelectionDrawn(null);
131 } 134 }
132 }, 135 },
133 136