mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-23 13:01:38 -08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c94ab5b05a
1 changed files with 2 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||
@Override
|
||||
public void shareFile(FileHandle file){
|
||||
Log.info("Attempting to share file " + file);
|
||||
FileHandle to = Core.files.absolute(getDocumentsDirectory()).child(file.name());
|
||||
FileHandle to = Core.files.absolute(getDocumentsDirectory()).child(file.name()/* + ".png"*/);
|
||||
file.copyTo(to);
|
||||
|
||||
NSURL url = new NSURL(to.file());
|
||||
|
|
@ -56,11 +56,6 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||
Log.info("begin force landscape");
|
||||
forced = true;
|
||||
UINavigationController.attemptRotationToDeviceOrientation();
|
||||
//UIDevice.getCurrentDevice().set
|
||||
|
||||
//UIApplication.getSharedApplication().
|
||||
//getViewController(UIApplication.getSharedApplication()).atte
|
||||
//UIApplication.getSharedApplication()
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -104,7 +99,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||
UIInterfaceOrientation o = UIApplication.getSharedApplication().getStatusBarOrientation();
|
||||
return forced && (o == UIInterfaceOrientation.Portrait || o == UIInterfaceOrientation.PortraitUpsideDown);
|
||||
});
|
||||
t.add("Please rotate the phone to landscape mode to use the editor.").wrap().grow();
|
||||
t.add("Please rotate the device to landscape orientation to use the editor.").wrap().grow();
|
||||
});
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue