Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -7,6 +7,7 @@ import io.anuke.arc.scene.ui.layout.*;
|
|||||||
import io.anuke.arc.util.*;
|
import io.anuke.arc.util.*;
|
||||||
import io.anuke.arc.util.io.*;
|
import io.anuke.arc.util.io.*;
|
||||||
import io.anuke.mindustry.core.*;
|
import io.anuke.mindustry.core.*;
|
||||||
|
import io.anuke.mindustry.game.EventType.*;
|
||||||
import io.anuke.mindustry.game.Saves.*;
|
import io.anuke.mindustry.game.Saves.*;
|
||||||
import io.anuke.mindustry.io.*;
|
import io.anuke.mindustry.io.*;
|
||||||
import io.anuke.mindustry.net.Net;
|
import io.anuke.mindustry.net.Net;
|
||||||
@@ -90,6 +91,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||||||
openURL(((NSURL)options.get(UIApplicationLaunchOptions.Keys.URL())));
|
openURL(((NSURL)options.get(UIApplicationLaunchOptions.Keys.URL())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Events.on(ClientLoadEvent.class, e -> {
|
||||||
Core.app.post(() -> Core.app.post(() -> {
|
Core.app.post(() -> Core.app.post(() -> {
|
||||||
Core.scene.table("dialogDim", t -> {
|
Core.scene.table("dialogDim", t -> {
|
||||||
t.visible(() -> {
|
t.visible(() -> {
|
||||||
@@ -101,6 +103,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||||||
t.add("Please rotate the device to landscape orientation to use the editor.").wrap().grow();
|
t.add("Please rotate the device to landscape orientation to use the editor.").wrap().grow();
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
});
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user