mirror of
https://github.com/kepler155c/opus
synced 2026-02-22 01:39:44 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user