carousel.love/0011-on.initialize

8 lines
343 B
Plaintext
Raw Normal View History

2023-11-15 14:06:56 +00:00
on.initialize = function()
love.graphics.setFont(love.graphics.newFont(20))
Line_height = math.floor(love.graphics.getFont():getHeight()*1.3)
Line_number_padding = Line_number_width*App.width('m')
Editor_state = edit.initialize_state(100, 300, 100, 400, love.graphics.getFont():getHeight(), Line_height)
2023-11-15 14:06:56 +00:00
Text.redraw_all(Editor_state)
end