mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Don't render background() when adding map to initial #map div
This was triggering an unnecessary render at zoom 2 right before the map was properly centerzoomed
This commit is contained in:
@@ -191,9 +191,6 @@ export function rendererMap(context) {
|
||||
}
|
||||
});
|
||||
|
||||
supersurface
|
||||
.call(context.background());
|
||||
|
||||
context.on('enter.map', function() {
|
||||
if (map.editable() && !_isTransformed) {
|
||||
// redraw immediately any objects affected by a change in selectedIDs.
|
||||
|
||||
Reference in New Issue
Block a user