aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-01 13:38:44 -0800
committerValerio Virgillito2012-03-01 13:38:44 -0800
commit0a500496236bedbdd9fbbcb3d841a195b3e5fc0f (patch)
tree0985abebdcf61dab85cfc97170a1c6339a5346eb /js/tools
parentb09956e4a9a35c5588cc7cd1f01efb617cbe0884 (diff)
downloadninja-0a500496236bedbdd9fbbcb3d841a195b3e5fc0f.tar.gz
stage and elements fixes
- Resizing the iframe container when resizing the stage - Removing 3d rules from elements when adding them - Adding a name property in the pi Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/TagTool.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tools/TagTool.js b/js/tools/TagTool.js
index e3f49bbe..39667aa7 100755
--- a/js/tools/TagTool.js
+++ b/js/tools/TagTool.js
@@ -232,9 +232,9 @@ exports.TagTool = Montage.create(DrawingTool, {
232 styles = { 232 styles = {
233 'position': 'absolute', 233 'position': 'absolute',
234 'top' : top + 'px', 234 'top' : top + 'px',
235 'left' : left + 'px', 235 'left' : left + 'px'
236 '-webkit-transform-style' : 'preserve-3d', 236// '-webkit-transform-style' : 'preserve-3d',
237 '-webkit-transform' : matStr 237// '-webkit-transform' : matStr
238 }; 238 };
239 239
240 // TODO - for canvas, set both as style and attribute. 240 // TODO - for canvas, set both as style and attribute.
@@ -254,8 +254,8 @@ exports.TagTool = Montage.create(DrawingTool, {
254 makeStaticElement: { 254 makeStaticElement: {
255 value: function(tag) { 255 value: function(tag) {
256 var styles = { 256 var styles = {
257 "-webkit-transform-style": "preserve-3d", 257// "-webkit-transform-style": "preserve-3d",
258 "-webkit-transform": "perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)" 258// "-webkit-transform": "perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)"
259 }; 259 };
260 tag.innerHTML = "content"; 260 tag.innerHTML = "content";
261 261