aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/board/BoardCanvas.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-30 14:55:59 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-30 14:55:59 +0100
commiteec973bc05c0a7e0c511b392704c6d093c2820b4 (patch)
treea3f70acb6ad03b45a8c9349b70697585c1bd7f50 /src/game_tab/left_panel/board/BoardCanvas.hpp
parent109a1bd697262a9d773999aafc426a552d57b54f (diff)
Improve UI
Diffstat (limited to 'src/game_tab/left_panel/board/BoardCanvas.hpp')
-rw-r--r--src/game_tab/left_panel/board/BoardCanvas.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game_tab/left_panel/board/BoardCanvas.hpp b/src/game_tab/left_panel/board/BoardCanvas.hpp
index 2ea44ae..0ed18a7 100644
--- a/src/game_tab/left_panel/board/BoardCanvas.hpp
+++ b/src/game_tab/left_panel/board/BoardCanvas.hpp
@@ -36,7 +36,7 @@ wxDECLARE_EVENT(NEXT_MOVE_EVENT, wxCommandEvent);
(mouseX >= (x) && mouseX <= ((x) + (width)) && mouseY >= (y) && \
mouseY <= ((y) + (height)))
-#define CAPTURE_FACTOR 0.5
+#define CAPTURE_FACTOR 0.35
#define SQUARE_NUM_PADDING 5
typedef std::tuple<short, short, short> ClockTime;