feat: render if need

Signed-off-by: SouthFox <master@southfox.me>
This commit is contained in:
SouthFox 2024-10-29 17:08:29 +08:00
parent fb117e328a
commit bf128418cc

View file

@ -171,7 +171,8 @@
(begin
((timeout-function-func i))
(set-timeout-function-countdown! i (timeout-function-interval i))
(render))
(if (equal? *template* template-click)
(render)))
(set-timeout-function-countdown! i (- (timeout-function-countdown i) 1))))
*update-list*)
(timeout update-callback dt))