maintain the initial font size in a global
[?]
Jun 6, 2023, 5:17 AM
NVTUHXC4T4N4YS2XML2HDMUENHAP5GZ4BNQ4SEXWQTE72R4NFQYACDependencies
- [2]
EADS554Afix previous merge - [3]
H5UZI3YNeditor documentation - [4]
YCYCQOFCbugfix: on.load_settings when there are none - [5]
DSDKFEUKpersist window geometry to disk across restart - [6]
MPETAKZ2insert space for loading settings - [7]
FRXBX5FCcreate space for app-specific settings - [*]
N2NUGNN4include a brief reference enabling many useful apps - [*]
OTIBCAUJlove2d scaffold - [*]
36Z442IVback to commit 8123959e52f without code editing - [*]
WQOSZSUEwarn on unused commandline args
Change contents
- edit in reference.md at line 23
* `Font_height` -- remembers the current font height on initialization. Butyou're responsible for setting it when updating font height. (Think of thisas the body font, but apps so far assume a single font size.) - edit in reference.md at line 244
* `edit.update_font_height(state, font_height)` -- updates all state dependenton font height. - edit in main.lua at line 38[11.2321][12.8]
Font_height = 20 - replacement in main.lua at line 117
local font_height = 20love.graphics.setFont(love.graphics.newFont(font_height))Font_height = 20love.graphics.setFont(love.graphics.newFont(Font_height))