Updated Arc

This commit is contained in:
Anuke 2022-03-06 14:53:13 -05:00
parent 461ac97998
commit d3a919b5f4
3 changed files with 4 additions and 4 deletions

View File

@ -545,7 +545,7 @@ public class Control implements ApplicationListener, Loadable{
if(full){ if(full){
graphics.setWindowedMode(graphics.getWidth(), graphics.getHeight()); graphics.setWindowedMode(graphics.getWidth(), graphics.getHeight());
}else{ }else{
graphics.setFullscreenMode(graphics.getDisplayMode()); graphics.setFullscreen();
} }
settings.put("fullscreen", !full); settings.put("fullscreen", !full);
} }

View File

@ -363,7 +363,7 @@ public class SettingsMenuDialog extends BaseDialog{
} }
if(b){ if(b){
Core.graphics.setFullscreenMode(Core.graphics.getDisplayMode()); Core.graphics.setFullscreen();
}else{ }else{
Core.graphics.setWindowedMode(Core.graphics.getWidth(), Core.graphics.getHeight()); 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")); Core.graphics.setVSync(Core.settings.getBool("vsync"));
if(Core.settings.getBool("fullscreen")){ 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")){ if(Core.settings.getBool("borderlesswindow")){

View File

@ -24,4 +24,4 @@ android.useAndroidX=true
#used for slow jitpack builds; TODO see if this actually works #used for slow jitpack builds; TODO see if this actually works
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
archash=1eed4e223d archash=16a80926a6