more clickgui fixes
This commit is contained in:
parent
06951bc2b8
commit
f5a8992d1d
File diff suppressed because it is too large
Load Diff
|
@ -45,7 +45,7 @@ public class ClickGUI extends GuiScreen {
|
||||||
public Category selectedCategory = null;
|
public Category selectedCategory = null;
|
||||||
public int sliderOffset;
|
public int sliderOffset;
|
||||||
public boolean draggingNumber;
|
public boolean draggingNumber;
|
||||||
public boolean settingDrag = true;
|
public boolean settingDrag;
|
||||||
|
|
||||||
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) {
|
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) {
|
||||||
Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.create(new ResourceLocation("gui.button.press"), 1.0F));
|
Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.create(new ResourceLocation("gui.button.press"), 1.0F));
|
||||||
|
@ -323,6 +323,7 @@ public class ClickGUI extends GuiScreen {
|
||||||
@Override
|
@Override
|
||||||
public void mouseReleased(int mouseX, int mouseY, int mouseButton){
|
public void mouseReleased(int mouseX, int mouseY, int mouseButton){
|
||||||
draggingNumber = false;
|
draggingNumber = false;
|
||||||
|
settingDrag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void keyTyped(char par1, int par2) {
|
protected void keyTyped(char par1, int par2) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user