Fix #7940 (analog test screen). "Debounce" doubleclicks.

This commit is contained in:
Henrik Rydgard committed 2015-09-07 22:27:29 +02:00
1 parent dbf53ab584
commit 53e80d7f54
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -1018,8 +1018,10 @@ namespace MainWindow
if (!g_Config.bShowTouchControls && GetUIState() == UISTATE_INGAME) {
PostMessage(hwndMain, WM_USER_TOGGLE_FULLSCREEN, 0, 0);
}
lastMouseDown = 0.0;
} else {
lastMouseDown = real_time_now();
}
lastMouseDown = real_time_now();
}
break;