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.reel/stage.html | |
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.reel/stage.html')
-rwxr-xr-x | js/stage/stage.reel/stage.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.html b/js/stage/stage.reel/stage.html index 30c3d231..a819fc79 100755 --- a/js/stage/stage.reel/stage.html +++ b/js/stage/stage.reel/stage.html | |||
@@ -57,6 +57,7 @@ | |||
57 | "element": {"#": "stageAndScenesContainer"}, | 57 | "element": {"#": "stageAndScenesContainer"}, |
58 | "_iframeContainer": {"#": "iframeContainer"}, | 58 | "_iframeContainer": {"#": "iframeContainer"}, |
59 | "_layoutCanvas": {"#": "layoutCanvas"}, | 59 | "_layoutCanvas": {"#": "layoutCanvas"}, |
60 | "_gridCanvas": {"#": "gridCanvas"}, | ||
60 | "_canvas": {"#": "stageCanvas"}, | 61 | "_canvas": {"#": "stageCanvas"}, |
61 | "_drawingCanvas": {"#": "drawingCanvas"}, | 62 | "_drawingCanvas": {"#": "drawingCanvas"}, |
62 | "stageDeps": {"@": "StageDeps1"}, | 63 | "stageDeps": {"@": "StageDeps1"}, |
@@ -83,6 +84,7 @@ | |||
83 | <section data-montage-id="stageView"></section> | 84 | <section data-montage-id="stageView"></section> |
84 | <section data-montage-id="iframeContainer" id="iframeContainer"></section> | 85 | <section data-montage-id="iframeContainer" id="iframeContainer"></section> |
85 | <section data-montage-id="textToolObject"></section> | 86 | <section data-montage-id="textToolObject"></section> |
87 | <canvas data-montage-id="gridCanvas" class="gridCanvas"></canvas> | ||
86 | <canvas data-montage-id="layoutCanvas" class="layoutCanvas"></canvas> | 88 | <canvas data-montage-id="layoutCanvas" class="layoutCanvas"></canvas> |
87 | <canvas data-montage-id="stageCanvas" class="stageCanvas"></canvas> | 89 | <canvas data-montage-id="stageCanvas" class="stageCanvas"></canvas> |
88 | <canvas data-montage-id="drawingCanvas" class="drawingCanvas"></canvas> | 90 | <canvas data-montage-id="drawingCanvas" class="drawingCanvas"></canvas> |