mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Lowered redraw threshold to 2px
This commit is contained in:
@@ -332,7 +332,7 @@ export function uiFieldRestrictions(field, context) {
|
||||
|
||||
document.addEventListener('resizeWindow', function () {
|
||||
utilSetDimensions(_container, null);
|
||||
redraw(10);
|
||||
redraw(2);
|
||||
}, false);
|
||||
|
||||
updateHints(null);
|
||||
|
||||
+1
-1
@@ -412,7 +412,7 @@ export function uiInit(context) {
|
||||
ui.checkOverflow('#bar');
|
||||
ui.checkOverflow('#footer');
|
||||
|
||||
// Use older code so it works on Explorer
|
||||
// Use outdated code so it works on Explorer
|
||||
var resizeWindowEvent = document.createEvent('Event');
|
||||
|
||||
resizeWindowEvent.initEvent('resizeWindow', true, true);
|
||||
|
||||
Reference in New Issue
Block a user