mirror of
https://github.com/kepler155c/opus
synced 2025-04-18 08:43:11 +00:00
Change sleep(0) to sleep(0.05) for CraftOS-PC
CraftOS-PC handles sleep(0) by not sleeping at all, which makes icon animations go too fast to actually see. Changing this will fix animations in CraftOS-PC, while not changing how it acts in other (more accurate) emulators.
This commit is contained in:
parent
ce6a741690
commit
800dd60747
@ -1066,7 +1066,7 @@ function UI.Device:runTransitions(transitions)
|
||||
if Util.empty(transitions) then
|
||||
break
|
||||
end
|
||||
os.sleep(0)
|
||||
os.sleep(0.05)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user