From dd81a4750a28705a13c2dc630f1f8bb3c155632b Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 26 Nov 2021 11:22:26 +0300 Subject: [PATCH] Add @action to restackItems() method Signed-off-by: Alex Andreev --- src/common/hotbar-store.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/hotbar-store.ts b/src/common/hotbar-store.ts index cce10760ca..4a101e6013 100644 --- a/src/common/hotbar-store.ts +++ b/src/common/hotbar-store.ts @@ -230,6 +230,7 @@ export class HotbarStore extends BaseStore { return index; } + @action restackItems(from: number, to: number): void { const { items } = this.getActive(); const source = items[from];