mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Revert "shorter wait before redrawing after zooming"
This reverts commit 7a22e62426.
This commit is contained in:
@@ -133,7 +133,7 @@ iD.Map = function(context) {
|
||||
|
||||
tilegroup.style(transformProp, transform);
|
||||
surface.style(transformProp, transform);
|
||||
queueRedraw(scale === 1 ? 500 : 100);
|
||||
queueRedraw();
|
||||
|
||||
dispatch.move(map);
|
||||
}
|
||||
@@ -183,9 +183,9 @@ iD.Map = function(context) {
|
||||
}
|
||||
|
||||
var timeoutId;
|
||||
function queueRedraw(t) {
|
||||
function queueRedraw() {
|
||||
clearTimeout(timeoutId);
|
||||
timeoutId = setTimeout(function() { redraw(); }, t);
|
||||
timeoutId = setTimeout(function() { redraw(); }, 300);
|
||||
}
|
||||
|
||||
function pointLocation(p) {
|
||||
|
||||
Reference in New Issue
Block a user