resize handler
Dependencies
- [2]
5RUFNRJOstart of the visual skeleton - [3]
ZM7NOBRMnew fork: carousel shell - [4]
ICS45BILeditor widget now takes a bottom margin - [*]
R5QXEHUIsomebody stop me
Change contents
- file addition: 0031-on.resize[6.2]
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.leftText.redraw_all(Editor_state)end - file addition: 0030-Safe_height[6.2]
Safe_height = 0 - file addition: 0029-Safe_width[6.2]
Safe_width = 0 - replacement in 0011-on.initialize at line 5
Menu_left, Menu_top = love.window.getSafeArea()Menu_left, Menu_top, Safe_width, Safe_height = love.window.getSafeArea() - replacement in 0011-on.initialize at line 9
--[[top]] Menu_bottom + 20, --[[bottom]] App.screen.height/2-5,--[[left]] 100, --[[right]] 400,Menu_bottom + 20, -- topSafe_height/2-5, -- bottom100, -- leftmath.min(100+30*App.width('m'), Safe_width*2/3), -- right