mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 08:39:56 +02:00
fix zoom resetting wrongly when switching background mid-transition
see https://github.com/openstreetmap/iD/issues/10700#issuecomment-2832010049
This commit is contained in:
@@ -225,9 +225,7 @@ export function rendererBackground(context) {
|
||||
delete hash.offset;
|
||||
}
|
||||
|
||||
if (!window.mocha) {
|
||||
window.location.replace('#' + utilQsString(hash, true));
|
||||
}
|
||||
window.history.replaceState(null, '', '#' + utilQsString(hash, true));
|
||||
|
||||
let imageryUsed = [];
|
||||
let photoOverlaysUsed = [];
|
||||
|
||||
Reference in New Issue
Block a user