bugfix: code overflowing lower border after resize

This commit is contained in:
Kartik K. Agaram 2023-11-25 18:59:22 -08:00
parent 0c8722ac7f
commit dbfa07f059
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ on.resize = function()
pane.editor_state.right = pane.editor_state.left+1 pane.editor_state.right = pane.editor_state.left+1
end end
pane.editor_state.width = pane.editor_state.right - pane.editor_state.left pane.editor_state.width = pane.editor_state.right - pane.editor_state.left
pane.editor_state.bottom = Safe_height/2-5 pane.editor_state.bottom = Safe_height/2-Line_height
Text.redraw_all(pane.editor_state) Text.redraw_all(pane.editor_state)
update_output_editor(pane) update_output_editor(pane)
end end