mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 00:05:23 +07:00
Updated Arc
This commit is contained in:
parent
461ac97998
commit
d3a919b5f4
@ -545,7 +545,7 @@ public class Control implements ApplicationListener, Loadable{
|
||||
if(full){
|
||||
graphics.setWindowedMode(graphics.getWidth(), graphics.getHeight());
|
||||
}else{
|
||||
graphics.setFullscreenMode(graphics.getDisplayMode());
|
||||
graphics.setFullscreen();
|
||||
}
|
||||
settings.put("fullscreen", !full);
|
||||
}
|
||||
|
@ -363,7 +363,7 @@ public class SettingsMenuDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
if(b){
|
||||
Core.graphics.setFullscreenMode(Core.graphics.getDisplayMode());
|
||||
Core.graphics.setFullscreen();
|
||||
}else{
|
||||
Core.graphics.setWindowedMode(Core.graphics.getWidth(), Core.graphics.getHeight());
|
||||
}
|
||||
@ -381,7 +381,7 @@ public class SettingsMenuDialog extends BaseDialog{
|
||||
Core.graphics.setVSync(Core.settings.getBool("vsync"));
|
||||
|
||||
if(Core.settings.getBool("fullscreen")){
|
||||
Core.app.post(() -> Core.graphics.setFullscreenMode(Core.graphics.getDisplayMode()));
|
||||
Core.app.post(() -> Core.graphics.setFullscreen());
|
||||
}
|
||||
|
||||
if(Core.settings.getBool("borderlesswindow")){
|
||||
|
@ -24,4 +24,4 @@ android.useAndroidX=true
|
||||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=1eed4e223d
|
||||
archash=16a80926a6
|
||||
|
Loading…
Reference in New Issue
Block a user