UI: Correct tweens repeatedly finishing.

This commit is contained in:
Unknown W. Brackets 2021-02-17 00:32:39 -08:00
parent ee1a15291d
commit 9692ddccba

View file

@ -6,7 +6,7 @@
namespace UI {
void Tween::Apply(View *view) {
if (!valid_)
if (!valid_ || finishApplied_)
return;
if (DurationOffset() >= duration_)