Default to 60% resolution scale

This commit is contained in:
downthecrop 2023-10-18 21:06:47 -07:00
parent 0874bce6a6
commit 94c395099f
2 changed files with 6 additions and 6 deletions

View file

@ -46,7 +46,7 @@ public class LauncherPreferences {
public static boolean PREF_ARC_CAPES = false;
public static boolean PREF_USE_ALTERNATE_SURFACE = true;
public static boolean PREF_JAVA_SANDBOX = true;
public static int PREF_SCALE_FACTOR = 100;
public static int PREF_SCALE_FACTOR = 60;
public static boolean PREF_ENABLE_GYRO = false;
public static float PREF_GYRO_SENSITIVITY = 1f;
public static int PREF_GYRO_SAMPLE_RATE = 16;
@ -93,7 +93,7 @@ public class LauncherPreferences {
PREF_ARC_CAPES = DEFAULT_PREF.getBoolean("arc_capes",false);
PREF_USE_ALTERNATE_SURFACE = DEFAULT_PREF.getBoolean("alternate_surface", false);
PREF_JAVA_SANDBOX = DEFAULT_PREF.getBoolean("java_sandbox", true);
PREF_SCALE_FACTOR = DEFAULT_PREF.getInt("resolutionRatio", 100);
PREF_SCALE_FACTOR = DEFAULT_PREF.getInt("resolutionRatio", 60);
PREF_ENABLE_GYRO = DEFAULT_PREF.getBoolean("enableGyro", false);
PREF_GYRO_SENSITIVITY = ((float)DEFAULT_PREF.getInt("gyroSensitivity", 100))/100f;
PREF_GYRO_SAMPLE_RATE = DEFAULT_PREF.getInt("gyroSampleRate", 16);

View file

@ -23,14 +23,14 @@
/>
<net.kdt.pojavlaunch.prefs.CustomSeekBarPreference
android:icon="@drawable/ic_setting_screen_resolution"
android:key="resolutionRatio"
android:summary="@string/mcl_setting_subtitle_resolution_scaler"
android:title="@string/mcl_setting_title_resolution_scaler"
app2:showSeekBarValue="true"
app2:selectable="false"
app2:defaultValue="60"
app2:seekBarIncrement="5"
android:icon="@drawable/ic_setting_screen_resolution"
/>
app2:selectable="false"
app2:showSeekBarValue="true" />
<net.kdt.pojavlaunch.prefs.CustomSeekBarPreference
android:id="@+id/customSeekBarPreference"