[missions] use webkit vendor prefix for transform (Android doesn't yet support unprefixed transforms)
This commit is contained in:
parent
d7ce5b2c58
commit
735a0fee85
@ -107,7 +107,9 @@
|
|||||||
left: 6px;
|
left: 6px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
/* Firefox supports transform* without vendor prefix, but Android does not yet */
|
||||||
transform-origin: 4px 9px 0;
|
transform-origin: 4px 9px 0;
|
||||||
|
-webkit-transform-origin: 4px 9px 0;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,7 +419,9 @@ window.plugin.missions = {
|
|||||||
|
|
||||||
for(var i = 0; i< resCount; i++) {
|
for(var i = 0; i< resCount; i++) {
|
||||||
var resonator = container.appendChild(document.createElement('div'));
|
var resonator = container.appendChild(document.createElement('div'));
|
||||||
|
/* Firefox supports transform* without vendor prefix, but Android does not yet */
|
||||||
resonator.style.transform = 'rotate(' + i*45 + 'deg)';
|
resonator.style.transform = 'rotate(' + i*45 + 'deg)';
|
||||||
|
resonator.style.webkitTransform = 'rotate(' + i*45 + 'deg)';
|
||||||
}
|
}
|
||||||
return container;
|
return container;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user