Backport some of REI bookmark features (#296)

* add placeholder bookmark drop

* add item panel to bookmark panel injection support

* fix outofboundsexception

* fix drag'n drop voids bookmark

* add itemstack moving animation

* implement pop animation

* fix crashes

* disable ItemPanel Animation

* disable pop animation on bookmark load

* spotlessapply

* disable move animation on gui scale

* add config option
This commit is contained in:
くぁーりぃ authored and GitHub committed 2022-09-18 12:08:16 +02:00
1 parent 617ac0600d
commit 6d9ec0c0da
7 files changed
+303 -60

No files matched your search

+2 -1
View File
@@ -57,7 +57,8 @@ public class ItemPanel extends PanelWidget {
public void refresh(GuiContainer gui) {
if (newItems != null) {
realItems = newItems;
realItems.clear();
addRealItems(newItems, false, false);
newItems = null;
onGridChanged();
}