2023-11-15 15:37:36 +00:00
|
|
|
on.resize = function()
|
|
|
|
_, _, Safe_width, Safe_height = love.window.getSafeArea()
|
|
|
|
Editor_state.right = math.min(100+30*App.width('m'), Safe_width*2/3)
|
|
|
|
Editor_state.width = Editor_state.right - Editor_state.left
|
2023-11-15 17:27:34 +00:00
|
|
|
Editor_state.bottom = Safe_height/2-5
|
2023-11-15 15:37:36 +00:00
|
|
|
Text.redraw_all(Editor_state)
|
|
|
|
end
|