mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 10:48:38 +00:00
mouse hitbox fix
This commit is contained in:
parent
f3299c67fa
commit
d24cbec810
5 changed files with 1 additions and 1 deletions
BIN
brewos.iso
BIN
brewos.iso
Binary file not shown.
BIN
build/brewos.elf
BIN
build/brewos.elf
Binary file not shown.
BIN
build/wm.o
BIN
build/wm.o
Binary file not shown.
Binary file not shown.
|
|
@ -348,7 +348,7 @@ void wm_handle_click(int x, int y) {
|
|||
int sh = get_screen_height();
|
||||
|
||||
// Check Start Button
|
||||
if (rect_contains(2, sh - 26, 60, 24, x, y)) {
|
||||
if (rect_contains(2, sh - 26, 90, 24, x, y)) {
|
||||
start_menu_open = !start_menu_open;
|
||||
force_redraw = true;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue