Merge branch 'tambry-architecttabletextfield' into 6.0.x
This commit is contained in:
commit
710f9bd453
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
package buildcraft.builders.gui;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
|
@ -59,6 +60,8 @@ public class GuiArchitect extends GuiBuildCraft {
|
|||
int x = (width - xSize) / 2;
|
||||
int y = (height - ySize) / 2;
|
||||
|
||||
Keyboard.enableRepeatEvents(true);
|
||||
|
||||
optionRotate = new GuiButton(0, x + 5, y + 30, 77, 20, "");
|
||||
buttonList.add(optionRotate);
|
||||
|
||||
|
@ -79,6 +82,11 @@ public class GuiArchitect extends GuiBuildCraft {
|
|||
updateButtons();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onGuiClosed() {
|
||||
Keyboard.enableRepeatEvents(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void actionPerformed(GuiButton button) {
|
||||
BlueprintReadConfiguration conf = architect.readConfiguration;
|
||||
|
|
Loading…
Reference in a new issue