Skip to content

Commit ff28ced

Browse files
committed
app: fix animation request
1 parent 8b0f062 commit ff28ced

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/window.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,7 @@ func (w *Window) updateAnimation() {
335335
w.scheduleInvalidate(w.nextFrame)
336336
}
337337
}
338-
if animate != w.animating {
339-
w.animating = animate
340-
w.driver.SetAnimating(animate)
341-
}
338+
w.driver.SetAnimating(animate)
342339
}
343340

344341
func (w *Window) scheduleInvalidate(t time.Time) {

0 commit comments

Comments
 (0)