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)
|
monitorHeight := rl.GetMonitorHeight(monitor)
|
||||||
rl.SetWindowSize(
|
rl.SetWindowSize(
|
||||||
windowWidth,
|
windowWidth,
|
||||||
monitorHeight/2,
|
monitorHeight/2/textBoxHeight*textBoxHeight,
|
||||||
)
|
)
|
||||||
rl.SetWindowPosition(
|
rl.SetWindowPosition(
|
||||||
monitorWidth/2-rl.GetScreenWidth()/2,
|
monitorWidth/2-rl.GetScreenWidth()/2,
|
||||||
|
|||||||
Reference in New Issue
Block a user