Reverting last two commits

This commit is contained in:
downthecrop 2023-10-18 21:25:37 -07:00
parent 94c395099f
commit ce2ad54977
4 changed files with 8 additions and 8 deletions

View file

@ -1 +1 @@
1697687718847 1697613347540

View file

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

View file

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

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists