Fix hotbar items drag-n-drop bugs (#4433)

This commit is contained in:
Alex Andreev authored and GitHub committed 2021-11-29 12:45:32 -05:00
1 parent 0673c98f4e
commit 8ff7c03993
3 files changed
+27 -2

No files matched your search

+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];