custom angle degree

Closes #2140

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-18 14:50:53 +08:00
parent 68e302b5d7
commit b04c3d878d
5 changed files with 38 additions and 3 deletions

View File

@@ -151,7 +151,8 @@ abstract final class SettingBoxKey {
showDynDispute = 'showDynDispute',
touchSlopH = 'touchSlopH',
floatingNavBar = 'floatingNavBar',
removeSafeArea = 'removeSafeArea';
removeSafeArea = 'removeSafeArea',
angleDegrees = 'angleDegrees';
static const String minimizeOnExit = 'minimizeOnExit',
windowSize = 'windowSize',

View File

@@ -982,4 +982,7 @@ abstract final class Pref {
static bool get removeSafeArea =>
_setting.get(SettingBoxKey.removeSafeArea, defaultValue: false);
static int get angleDegrees =>
_setting.get(SettingBoxKey.angleDegrees, defaultValue: 30);
}