add a separate configuration item for edge of screen

This commit is contained in:
Juve 2025-09-11 10:11:01 +08:00
parent 4afe2d8448
commit f0733f19dd
4 changed files with 40 additions and 7 deletions

View file

@ -317,6 +317,7 @@ Singleton {
property bool dimDesktop: false
property bool showScreenCorners: false
property real radiusRatio: 1.0
property real screenRadiusRatio: 1.0
// Animation speed multiplier (0.1x - 2.0x)
property real animationSpeed: 1.0
}

View file

@ -35,6 +35,9 @@ Singleton {
property int radiusM: 16 * Settings.data.general.radiusRatio
property int radiusL: 20 * Settings.data.general.radiusRatio
//screen Radii
property int screenRadius: 20 * Settings.data.general.screenRadiusRatio
// Border
property int borderS: 1
property int borderM: 2