mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
mouse hitbox fix
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user