mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Fixed buttons triggering their actions twice on the Liteloader pane
This commit is contained in:
parent
dabd9ecad0
commit
23b2618f1e
1 changed files with 2 additions and 1 deletions
|
@ -38,13 +38,14 @@ public class PonySettingsPanel extends GuiPonySettings implements ConfigPanel {
|
||||||
public void onPanelShown(ConfigPanelHost host) {
|
public void onPanelShown(ConfigPanelHost host) {
|
||||||
mc = Minecraft.getMinecraft();
|
mc = Minecraft.getMinecraft();
|
||||||
width = host.getWidth();
|
width = host.getWidth();
|
||||||
|
buttonList.clear();
|
||||||
initGui();
|
initGui();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPanelResize(ConfigPanelHost host) {
|
public void onPanelResize(ConfigPanelHost host) {
|
||||||
width = host.getWidth();
|
width = host.getWidth();
|
||||||
this.buttonList.clear();
|
buttonList.clear();
|
||||||
initGui();
|
initGui();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue