From d7636e9da0eb5837e37bcd68971f05498f1e1db8 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Sun, 28 Dec 2025 23:55:11 +0100 Subject: [PATCH] fix(settings/user/color): wrong grid click boundaries check --- app/components/Settings/BottomScreen/Menus/User/Color.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Settings/BottomScreen/Menus/User/Color.vue b/app/components/Settings/BottomScreen/Menus/User/Color.vue index 133f759..c1a9f8e 100644 --- a/app/components/Settings/BottomScreen/Menus/User/Color.vue +++ b/app/components/Settings/BottomScreen/Menus/User/Color.vue @@ -48,7 +48,7 @@ useScreenClick((x, y) => { const cellLocalY = relativeY % (CELL_SIZE + SPACING); if ( - rectContains([0, 0, GRID_SIZE, GRID_SIZE], [col, row]) && + rectContains([0, 0, GRID_SIZE - 1, GRID_SIZE - 1], [col, row]) && rectContains([0, 0, CELL_SIZE + 1, CELL_SIZE + 1], [cellLocalX, cellLocalY]) ) { select(col, row);