mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 20:47:59 +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) {
|
||||
mc = Minecraft.getMinecraft();
|
||||
width = host.getWidth();
|
||||
buttonList.clear();
|
||||
initGui();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPanelResize(ConfigPanelHost host) {
|
||||
width = host.getWidth();
|
||||
this.buttonList.clear();
|
||||
buttonList.clear();
|
||||
initGui();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue