mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-12 12:21:13 -08:00
Mobile fixes
This commit is contained in:
parent
7316f74917
commit
77dbeed890
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ public class LoopControl{
|
|||
}
|
||||
}else{
|
||||
if(data.curVolume <= 0.01f){
|
||||
sound.stop(data.soundID);
|
||||
sound.stop();
|
||||
data.soundID = -1;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ public class ModsDialog extends FloatingDialog{
|
|||
|
||||
buttons.addImageTextButton("$mods.guide", Icon.wiki,
|
||||
() -> Core.net.openURI(modGuideURL))
|
||||
.size(210, 64f).colspan(android ? 2 : 1);
|
||||
.size(210, 64f);
|
||||
|
||||
buttons.addImageTextButton("$mod.import.github", Icon.github, () -> {
|
||||
ui.showTextInput("$mod.import.github", "", 64, "Anuken/ExampleMod", text -> {
|
||||
|
|
@ -98,7 +98,7 @@ public class ModsDialog extends FloatingDialog{
|
|||
|
||||
void setup(){
|
||||
cont.clear();
|
||||
cont.defaults().width(520f).pad(4);
|
||||
cont.defaults().width(mobile ? 500 : 520f).pad(4);
|
||||
cont.add("$mod.reloadrequired").visible(mods::requiresReload).center().get().setAlignment(Align.center);
|
||||
cont.row();
|
||||
if(!(mods.all().isEmpty() && mods.disabled().isEmpty())){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue