aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-05 16:42:13 -0800
committerNivesh Rajbhandari2012-03-05 16:42:13 -0800
commitba62bfff53319ebf140663dc0bf8fbaf1692ff9a (patch)
treea6c60234efe13c8de3ac3f1259bf91e70dfabb37 /js/tools
parent14258d1cb3400680ba821d94251defe55714b728 (diff)
downloadninja-ba62bfff53319ebf140663dc0bf8fbaf1692ff9a.tar.gz
Do not use transform code if transform mode is off.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/SelectionTool.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index a2d8510e..7eee761d 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -704,6 +704,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
704 */ 704 */
705 _showFeedbackOnMouseMove : { 705 _showFeedbackOnMouseMove : {
706 value: function (event) { 706 value: function (event) {
707 if(!this._showTransformHandles)
708 {
709 return;
710 }
707 if(this._target && this._handles) 711 if(this._target && this._handles)
708 { 712 {
709 var len = this._handles.length; 713 var len = this._handles.length;