add F5 to zone planners
This commit is contained in:
parent
368eda1251
commit
fa001c4a24
1 changed files with 5 additions and 1 deletions
|
@ -11,6 +11,7 @@ package buildcraft.commander;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
import org.lwjgl.input.Mouse;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
|
@ -293,7 +294,10 @@ public class GuiZonePlan extends GuiAdvancedInterface {
|
|||
protected void keyTyped(char carac, int val) {
|
||||
super.keyTyped(carac, val);
|
||||
|
||||
if (carac == '+' && zoomLevel > 1) {
|
||||
if (val == Keyboard.KEY_F5) {
|
||||
uploadMap();
|
||||
refreshSelectedArea();
|
||||
} else if (carac == '+' && zoomLevel > 1) {
|
||||
zoomLevel--;
|
||||
uploadMap();
|
||||
refreshSelectedArea();
|
||||
|
|
Loading…
Reference in a new issue