make the window height a multiple of textBoxHeight

This commit is contained in:
Ivar Fatland
2026-05-10 02:20:22 +02:00
parent 737e914c48
commit 45fc44f00c
+1 -1
View File
@@ -185,7 +185,7 @@ func initialize() State {
monitorHeight := rl.GetMonitorHeight(monitor)
rl.SetWindowSize(
windowWidth,
monitorHeight/2,
monitorHeight/2/textBoxHeight*textBoxHeight,
)
rl.SetWindowPosition(
monitorWidth/2-rl.GetScreenWidth()/2,