Merge pull request #15118 from cjhetzle/master

loottracker: reverse collapse all tooltips
This commit is contained in:
Adam
2022-06-16 22:43:32 -04:00
committed by GitHub

View File

@@ -211,7 +211,7 @@ class LootTrackerPanel extends PluginPanel
SwingUtil.removeButtonDecorations(collapseBtn);
collapseBtn.setIcon(EXPAND_ICON);
collapseBtn.setSelectedIcon(COLLAPSE_ICON);
SwingUtil.addModalTooltip(collapseBtn, "Collapse All", "Un-Collapse All");
SwingUtil.addModalTooltip(collapseBtn, "Expand All", "Collapse All");
collapseBtn.setBackground(ColorScheme.DARKER_GRAY_COLOR);
collapseBtn.setUI(new BasicButtonUI()); // substance breaks the layout
collapseBtn.addActionListener(ev -> changeCollapse());