Skip to content

Commit 964ca9b

Browse files
committed
fix: select screen speed-up animations
1 parent e6785a5 commit 964ca9b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

external/script/start.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,6 +2673,9 @@ function start.f_selectScreen()
26732673
staticDrawList = start.updateDrawList()
26742674
start.needUpdateDrawList = false
26752675
end
2676+
for _, item in ipairs(staticDrawList) do
2677+
animUpdate(item.anim)
2678+
end
26762679
batchDraw(staticDrawList)
26772680
--draw done cursors
26782681
for side = 1, 2 do

src/script.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,6 @@ func systemScriptInit(l *lua.LState) {
21002100
sys.luaQueueLayerDraw(int(layerLocal), func() {
21012101
(&aSnap).Draw(layerLocal)
21022102
})
2103-
aSnap.Update(true)
21042103
})
21052104
return 0
21062105
})

0 commit comments

Comments
 (0)