aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/widget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index d05a6fd051..45f725a48f 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -170,6 +170,7 @@ void CheckboxWidget::handleMouseUp(int x, int y, int button, int clickCount) {
#ifndef _WIN32_WCE
if (isEnabled() && x >= 0 && x < _w && y >= 0 && y < _h) {
#else
+ // Limit the active zone on the checkbox for stylus users
if (isEnabled() && x >= 0 && x < 14 && y >= 0 && y < 14) {
#endif
toggleState();