diff options
author | Nivesh Rajbhandari | 2012-05-29 10:35:06 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-29 10:35:06 -0700 |
commit | 2fd6db5f46208a5aa8fa58d090f795e5b7eb99bb (patch) | |
tree | 54846284f7164b3fc84ca454a7075460186e3d09 /js/stage/stage-deps.js | |
parent | 42c2a480a3883389e47d4ec291dfb55d99cf4b7f (diff) | |
download | ninja-2fd6db5f46208a5aa8fa58d090f795e5b7eb99bb.tar.gz |
Sped up user-interaction by moving grid drawing into its own canvas so the layout code doesn't have to be run when modifying selected elements.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/stage/stage-deps.js')
-rwxr-xr-x | js/stage/stage-deps.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/stage/stage-deps.js b/js/stage/stage-deps.js index 896d4a5b..2469ba79 100755 --- a/js/stage/stage-deps.js +++ b/js/stage/stage-deps.js | |||
@@ -37,8 +37,6 @@ exports.StageDeps = Montage.create(Component, { | |||
37 | window.MathUtils = MathUtilsClass; | 37 | window.MathUtils = MathUtilsClass; |
38 | window.VecUtils = VecUtils; | 38 | window.VecUtils = VecUtils; |
39 | 39 | ||
40 | snapManager.drawingCanvas = this.stage.drawingCanvas; | ||
41 | |||
42 | // Setup the listeners for the draw-util and snapmanager when removing elements | 40 | // Setup the listeners for the draw-util and snapmanager when removing elements |
43 | // TODO Revisit when supporting multiple documents | 41 | // TODO Revisit when supporting multiple documents |
44 | drawUtils.initialize(); | 42 | drawUtils.initialize(); |