mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-26 09:57:50 +02:00
add dummy transition to overlay layers
fixes overlay tiles from not being removed while zooming out and back in addendum to #10785
This commit is contained in:
+9
-1
@@ -4373,13 +4373,21 @@ img.tile {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.layer-overlay .img.tile,
|
||||
.map-in-map-overlay .img.tile {
|
||||
/* dummy transition such that the `ontransitionend` event can be triggered, see https://github.com/openstreetmap/iD/pull/10785 */
|
||||
transition: opacity 1ms linear;
|
||||
}
|
||||
|
||||
.layer-background img.tile,
|
||||
.map-in-map-background img.tile {
|
||||
filter: url(#alpha-slope5);
|
||||
}
|
||||
|
||||
.layer-background img.tile-removing,
|
||||
.map-in-map-background img.tile-removing {
|
||||
.layer-overlay img.tile-removing,
|
||||
.map-in-map-background img.tile-removing,
|
||||
.map-in-map-overlay img.tile-removing {
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user