mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-13 05:53:53 +01:00
Fix fps not decreasing when windows not in focus.
This commit is contained in:
parent
38f34d6796
commit
11c2b68def
@ -29,6 +29,7 @@ _FILE_DROPPED = false;
|
||||
|
||||
var foc = window_has_focus();
|
||||
//if(HOVER && instance_exists(HOVER) && HOVER.window != noone)
|
||||
if(PREFERENCES.multi_window)
|
||||
foc = true;
|
||||
|
||||
game_set_speed(foc || IS_PLAYING? PREFERENCES.ui_framerate : PREFERENCES.ui_framerate_non_focus, gamespeed_fps);
|
||||
|
Loading…
Reference in New Issue
Block a user