mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 06:28:15 +02:00
Fix partial redraws
This commit is contained in:
@@ -165,7 +165,8 @@ iD.Map = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function resetTransform() {
|
function resetTransform() {
|
||||||
if (!surface.style(transformProp)) return false;
|
var prop = surface.style(transformProp);
|
||||||
|
if (!prop || prop === 'none') return false;
|
||||||
surface.style(transformProp, '');
|
surface.style(transformProp, '');
|
||||||
tilegroup.style(transformProp, '');
|
tilegroup.style(transformProp, '');
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user