mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 11:25:34 +00:00
[Developer] Fixes #1599. Ensure text editor resizes when window does
This commit is contained in:
parent
c08cb38970
commit
d099bbf189
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ async function loadSettings() {
|
|||
// Setup callbacks
|
||||
//
|
||||
|
||||
window.addEventListener('resize', function() {
|
||||
editor.layout();
|
||||
});
|
||||
|
||||
const model = editor.getModel();
|
||||
|
||||
context.reloadSettings();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue