Add @action to restackItems() method

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-11-26 11:22:26 +03:00
1 parent 4f7aaf5f53
commit dd81a4750a
1 file changed
+1
+1
View File
@@ -230,6 +230,7 @@ export class HotbarStore extends BaseStore<HotbarStoreModel> {
return index;
}
@action
restackItems(from: number, to: number): void {
const { items } = this.getActive();
const source = items[from];