make the window height a multiple of textBoxHeight
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user