a warning
This commit is contained in:
@@ -483,6 +483,7 @@ setting.crashreport.name = Send Anonymous Crash Reports
|
|||||||
setting.chatopacity.name = Chat Opacity
|
setting.chatopacity.name = Chat Opacity
|
||||||
setting.playerchat.name = Display In-Game Chat
|
setting.playerchat.name = Display In-Game Chat
|
||||||
keybind.title = Rebind Keys
|
keybind.title = Rebind Keys
|
||||||
|
keybinds.mobile = [scarlet]Most keybinds here are not functional on mobile. Only basic movement is supported.
|
||||||
category.general.name = General
|
category.general.name = General
|
||||||
category.view.name = View
|
category.view.name = View
|
||||||
category.multiplayer.name = Multiplayer
|
category.multiplayer.name = Multiplayer
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ package io.anuke.mindustry.ui.dialogs;
|
|||||||
|
|
||||||
import io.anuke.arc.Core;
|
import io.anuke.arc.Core;
|
||||||
import io.anuke.arc.input.KeyCode;
|
import io.anuke.arc.input.KeyCode;
|
||||||
import io.anuke.arc.scene.ui.Image;
|
import io.anuke.arc.scene.ui.*;
|
||||||
import io.anuke.arc.scene.ui.KeybindDialog;
|
|
||||||
import io.anuke.arc.util.Align;
|
import io.anuke.arc.util.Align;
|
||||||
|
import io.anuke.mindustry.Vars;
|
||||||
import io.anuke.mindustry.graphics.Pal;
|
import io.anuke.mindustry.graphics.Pal;
|
||||||
|
|
||||||
public class ControlsDialog extends KeybindDialog{
|
public class ControlsDialog extends KeybindDialog{
|
||||||
@@ -17,6 +17,11 @@ public class ControlsDialog extends KeybindDialog{
|
|||||||
titleTable.row();
|
titleTable.row();
|
||||||
titleTable.add(new Image("whiteui"))
|
titleTable.add(new Image("whiteui"))
|
||||||
.growX().height(3f).pad(4f).get().setColor(Pal.accent);
|
.growX().height(3f).pad(4f).get().setColor(Pal.accent);
|
||||||
|
if(Vars.mobile){
|
||||||
|
cont.row();
|
||||||
|
cont.add("$keybinds.mobile")
|
||||||
|
.center().growX().wrap().get().setAlignment(Align.center);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user