mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 11:20:39 -07:00
Made IOS UI size slightly smaller
This commit is contained in:
parent
44965a42e4
commit
f5b7e6bb60
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import io.anuke.mindustry.core.ThreadHandler;
|
|||
import io.anuke.mindustry.io.Platform;
|
||||
import io.anuke.mindustry.net.Net;
|
||||
import io.anuke.ucore.scene.ui.TextField;
|
||||
import io.anuke.ucore.scene.ui.layout.Unit;
|
||||
import org.robovm.apple.foundation.NSAutoreleasePool;
|
||||
import org.robovm.apple.uikit.UIApplication;
|
||||
|
||||
|
|
@ -24,6 +25,8 @@ public class IOSLauncher extends IOSApplication.Delegate {
|
|||
Net.setClientProvider(new KryoClient());
|
||||
Net.setServerProvider(new KryoServer());
|
||||
|
||||
Unit.dp.addition -= 0.5f;
|
||||
|
||||
Platform.instance = new Platform() {
|
||||
DateFormat format = SimpleDateFormat.getDateTimeInstance();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue