diff --git a/lib/framework/input.c b/lib/framework/input.c index 067052221..6acb2c643 100644 --- a/lib/framework/input.c +++ b/lib/framework/input.c @@ -501,6 +501,7 @@ BOOL mouseDClicked(MOUSE_KEY_CODE code) BOOL mousePressed(MOUSE_KEY_CODE code) { return ((aMouseState[code].state == KEY_PRESSED) || + (aMouseState[code].state == KEY_DOUBLECLICK) || (aMouseState[code].state == KEY_PRESSRELEASE)); }