add F5 to zone planners

This commit is contained in:
asiekierka 2015-01-03 22:41:25 +01:00
parent 368eda1251
commit fa001c4a24

View file

@ -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();