mirror of
https://github.com/Dark98/SliceBeam.git
synced 2026-07-03 00:38:53 +00:00
Scale in MM
This commit is contained in:
@@ -27,6 +27,14 @@ public class Prefs {
|
||||
mPrefs.edit().putString("last_commit", BuildConfig.COMMIT).apply();
|
||||
}
|
||||
|
||||
public static boolean isScaleInputInMM() {
|
||||
return mPrefs.getBoolean("scale_input_mm", false);
|
||||
}
|
||||
|
||||
public static void setScaleInputInMM(boolean v) {
|
||||
mPrefs.edit().putBoolean("scale_input_mm", true).apply();
|
||||
}
|
||||
|
||||
public static boolean isScaleLinked() {
|
||||
return mPrefs.getBoolean("scale_linked", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user