Add animation when an item is added to the list

This commit is contained in:
hulthe committed 2026-10-03 15:42:24 +02:00
1 parent 231f964ac8
commit a61d26d358
3 files changed
+47 -22

No files matched your search

+4
View File
@@ -2,6 +2,10 @@ export struct SItem {
name: string,
checked: bool,
amount: int,
/// Whether the item was just added by the user.
/// Determines whether the add-animation plays.
just_added: bool,
}
export struct SButtonItem{