mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Better fix for tooltip issues (#2557)
This commit is contained in:
1 parent
8345969bdd
commit
69c39c3bb9
4 files changed
+8
-2
No files matched your search
@@ -113,7 +113,6 @@ public class ExternalConnectionContainer extends Container {
|
||||
}
|
||||
|
||||
protected void filterChanged() {
|
||||
System.out.println("filterChanged " + filterListeners.size());
|
||||
for (FilterChangeListener list : filterListeners) {
|
||||
list.onFilterChanged();
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ public class BasicItemFilterGui implements IItemFilterGui {
|
||||
this.yOffset = yOffset;
|
||||
this.buttonIdOffset = buttonIdOffset;
|
||||
|
||||
|
||||
filter = filterContainer.getItemFilter();
|
||||
|
||||
isAdvanced = filter.isAdvanced();
|
||||
@@ -119,7 +118,11 @@ public class BasicItemFilterGui implements IItemFilterGui {
|
||||
if(isStickyModeAvailable) {
|
||||
stickyB.onGuiInit();
|
||||
stickyB.setSelected(activeFilter.isSticky());
|
||||
} else {
|
||||
stickyB.detach();
|
||||
}
|
||||
} else {
|
||||
stickyB.detach();
|
||||
}
|
||||
|
||||
useMetaB.onGuiInit();
|
||||
|
||||
@@ -131,6 +131,8 @@ public class ExistingItemFilterGui implements IItemFilterGui {
|
||||
if(!isInput) {
|
||||
stickyB.onGuiInit();
|
||||
stickyB.setSelected(activeFilter.isSticky());
|
||||
} else {
|
||||
stickyB.detach();
|
||||
}
|
||||
|
||||
useMetaB.onGuiInit();
|
||||
|
||||
@@ -64,6 +64,8 @@ public class PowerItemFilterGui implements IItemFilterGui {
|
||||
if(!isInput) {
|
||||
stickyB.onGuiInit();
|
||||
stickyB.setSelected(filter.isSticky());
|
||||
} else {
|
||||
stickyB.detach();
|
||||
}
|
||||
|
||||
int x0 = gui.getGuiLeft() + 80;
|
||||
|
||||
Reference in new issue
Block a user