mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 06:04:24 +02:00
Fix properties window changes not taking affect when losing focus
This commit is contained in:
parent
9af30a268c
commit
f739bf2116
1 changed files with 7 additions and 0 deletions
|
@ -439,6 +439,13 @@
|
|||
percentage: parseInt(elRescaleDimensionsPct.value),
|
||||
}));
|
||||
});
|
||||
|
||||
window.onblur = function() {
|
||||
// Fake a change event
|
||||
var ev = document.createEvent("HTMLEvents");
|
||||
ev.initEvent("change", true, true);
|
||||
document.activeElement.dispatchEvent(ev);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue