aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-29 10:35:06 -0700
committerNivesh Rajbhandari2012-05-29 10:35:06 -0700
commit2fd6db5f46208a5aa8fa58d090f795e5b7eb99bb (patch)
tree54846284f7164b3fc84ca454a7075460186e3d09 /scss
parent42c2a480a3883389e47d4ec291dfb55d99cf4b7f (diff)
downloadninja-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 'scss')
-rw-r--r--scss/imports/scss/_Stage.scss14
1 files changed, 12 insertions, 2 deletions
diff --git a/scss/imports/scss/_Stage.scss b/scss/imports/scss/_Stage.scss
index ed8d0656..39a98d82 100644
--- a/scss/imports/scss/_Stage.scss
+++ b/scss/imports/scss/_Stage.scss
@@ -140,7 +140,7 @@
140 padding: 0px; 140 padding: 0px;
141 top: 0px; 141 top: 0px;
142 left: 0px; 142 left: 0px;
143 z-index: 6; 143 z-index: 7;
144} 144}
145 145
146 146
@@ -151,7 +151,7 @@
151 padding: 0px; 151 padding: 0px;
152 top: 0px; 152 top: 0px;
153 left: 0px; 153 left: 0px;
154 z-index: 5; 154 z-index: 6;
155} 155}
156 156
157.layoutCanvas { 157.layoutCanvas {
@@ -161,6 +161,16 @@
161 padding: 0px; 161 padding: 0px;
162 top: 0px; 162 top: 0px;
163 left: 0px; 163 left: 0px;
164 z-index: 5;
165}
166
167.gridCanvas {
168 position: absolute;
169 margin: 0px;
170 border: none;
171 padding: 0px;
172 top: 0px;
173 left: 0px;
164 z-index: 4; 174 z-index: 4;
165} 175}
166 176