diff --git a/ports/javascript/lvgl_editor.html b/ports/javascript/lvgl_editor.html index e46bf6ce1..07da7f517 100644 --- a/ports/javascript/lvgl_editor.html +++ b/ports/javascript/lvgl_editor.html @@ -225,6 +225,9 @@ editor.getSession().on('change', editor_change); editor.resize(); }); + $(window).resize(function() { + editor.resize(); + });