aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-18 00:41:31 -0700
committerValerio Virgillito2012-05-18 00:41:31 -0700
commit084bb924bc3c3a6ad1e2e21099399bba4d473fed (patch)
treedea3f338962945f4a695ca8926d0f3bf75676557 /js/stage
parent7a94696e19b14e15261df516e2ba75e693b1313d (diff)
downloadninja-084bb924bc3c3a6ad1e2e21099399bba4d473fed.tar.gz
fixing some snapping bugs
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-deps.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/stage/stage-deps.js b/js/stage/stage-deps.js
index 84f04249..0d53696b 100755
--- a/js/stage/stage-deps.js
+++ b/js/stage/stage-deps.js
@@ -105,7 +105,7 @@ exports.StageDeps = Montage.create(Component, {
105 105
106 workingPlane = [0,0,1,0]; 106 workingPlane = [0,0,1,0];
107 107
108 snapManager._isCacheInvalid = true; 108 snapManager.reload2DCache();
109 snapManager.setupDragPlaneFromPlane (workingPlane); 109 snapManager.setupDragPlaneFromPlane (workingPlane);
110 110
111 drawUtils.initializeFromDocument(); 111 drawUtils.initializeFromDocument();
@@ -116,8 +116,9 @@ exports.StageDeps = Montage.create(Component, {
116 value: function(){ 116 value: function(){
117 workingPlane = [0,0,1,0]; 117 workingPlane = [0,0,1,0];
118 118
119 snapManager._isCacheInvalid = true;
120 snapManager.setupDragPlaneFromPlane (workingPlane); 119 snapManager.setupDragPlaneFromPlane (workingPlane);
120 snapManager.reload2DCache();
121
121 122
122 drawUtils.initializeFromDocument(); 123 drawUtils.initializeFromDocument();
123 } 124 }