mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-27 10:22:35 +02:00
Faster layer disable/enable transitions
This commit is contained in:
@@ -41,7 +41,7 @@ export function svgMapillaryImages(projection, context, dispatch) {
|
||||
layer
|
||||
.style('opacity', 0)
|
||||
.transition()
|
||||
.duration(500)
|
||||
.duration(250)
|
||||
.style('opacity', 1)
|
||||
.on('end', function () { dispatch.call('change'); });
|
||||
}
|
||||
@@ -57,7 +57,7 @@ export function svgMapillaryImages(projection, context, dispatch) {
|
||||
|
||||
layer
|
||||
.transition()
|
||||
.duration(500)
|
||||
.duration(250)
|
||||
.style('opacity', 0)
|
||||
.on('end', editOff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user