Skip to content

Commit bb0a1da

Browse files
committed
todo
1 parent 7dfb6d5 commit bb0a1da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/gregtech/common/covers/filter/BaseFilterContainer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ public void handleLegacyNBT(NBTTagCompound nbt) {
213213
/** Uses Cleanroom MUI */
214214
public IWidget initUI(GuiData data, PanelSyncManager manager) {
215215
// i bet brachy is gonna really hate this, but it *does* work
216+
// todo Find a better way to handle the filter popup panel than making
217+
// a new panel handler every time it changes
218+
// Could use a DynamicSyncedWidget or a client only panel in a future PR
216219
AtomicReference<IPanelHandler> filterPanel = new AtomicReference<>();
217220
AtomicReference<ItemStack> oldStack = new AtomicReference<>(getFilterStack());
218221
AtomicInteger counter = new AtomicInteger();
@@ -225,7 +228,6 @@ public IWidget initUI(GuiData data, PanelSyncManager manager) {
225228
});
226229
ItemStackHashStrategy strategy = ItemStackHashStrategy.comparingItemDamageCount();
227230

228-
// todo could i use a dynamic synced widget for this row?
229231
return Flow.row().coverChildrenHeight()
230232
.marginBottom(2).widthRel(1f)
231233
.child(new ItemSlot()

0 commit comments

Comments
 (0)