Fix the delay of key-input in a particular case

This commit is contained in:
ichizok
2017-10-06 19:52:34 +09:00
parent 78e3217645
commit 5c8c040a4f
+1 -1
View File
@@ -333,7 +333,7 @@ gui_mch_update(void)
static CFAbsoluteTime lastTime = 0;
CFAbsoluteTime nowTime = CFAbsoluteTimeGetCurrent();
if (nowTime - lastTime > 0.2) {
if (nowTime - lastTime > 1.0 / 30) {
[[MMBackend sharedInstance] update];
lastTime = nowTime;
}