forked from rosebudai/OpenRCT2-Web
Fix hold down speed
This commit is contained in:
1 parent
49cdb021f7
commit
ac81072597
1 file changed
+1
-1
@@ -1177,7 +1177,7 @@ void input_state_widget_pressed(sint32 x, sint32 y, sint32 state, rct_widgetinde
|
||||
_clickRepeatTicks++;
|
||||
|
||||
// Handle click repeat
|
||||
if (_clickRepeatTicks >= 16 && (_clickRepeatTicks & 3) != 0) {
|
||||
if (_clickRepeatTicks >= 16 && (_clickRepeatTicks & 3) == 0) {
|
||||
if (w->hold_down_widgets & (1ULL << widgetIndex)) {
|
||||
window_event_mouse_down_call(w, widgetIndex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user