Commit 4d76423
committed
Fix misplaced buttons in game interface for very small windows
The game interface draws the frame manually using the render size.
The size given in the resize event data is capped, so the buttons might
end up outside the screen.
For consistency use the same size here so the full frame is always intact.1 parent 0f40d2d commit 4d76423
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
| |||
0 commit comments