ScreenCorners: add solid black option

This commit is contained in:
Ly-sec 2025-09-15 08:28:57 +02:00
parent 22bc5a3bff
commit 8cb9f04a22
3 changed files with 9 additions and 1 deletions

View file

@ -19,7 +19,7 @@ Loader {
property real scaling: ScalingService.getScreenScale(screen)
screen: modelData
property color cornerColor: Qt.alpha(Color.mSurface, Settings.data.bar.backgroundOpacity)
property color cornerColor: Settings.data.general.forceBlackScreenCorners ? Qt.rgba(0, 0, 0, 1) : Qt.alpha(Color.mSurface, Settings.data.bar.backgroundOpacity)
property real cornerRadius: Style.screenRadius * scaling
property real cornerSize: Style.screenRadius * scaling