force black screencorners on floating panel

This commit is contained in:
lucy 2026-01-28 13:59:40 +01:00
parent 69613a3b14
commit 7819b055e0
3 changed files with 2 additions and 5 deletions

View File

@ -53,7 +53,7 @@ Variants {
Row { Row {
id: rightStuff id: rightStuff
rightPadding: 5 rightPadding: 10
spacing: 10 spacing: 10
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View File

@ -32,7 +32,7 @@ Item {
id: cornersPath id: cornersPath
// Corner configuration // Corner configuration
readonly property color cornerColor: Qt.rgba(Colors.surface.r, Colors.surface.g, Colors.surface.b, Settings.config.translucency) readonly property color cornerColor: Settings.config.floating ? "black" : Qt.rgba(Colors.surface.r, Colors.surface.g, Colors.surface.b, Settings.config.translucency)
readonly property real cornerRadius: Settings.config.screenCornerRadius readonly property real cornerRadius: Settings.config.screenCornerRadius
readonly property real cornerSize: Settings.config.screenCornerRadius readonly property real cornerSize: Settings.config.screenCornerRadius

View File

@ -22,11 +22,8 @@ Singleton {
property var barHeight: 30 property var barHeight: 30
property var font: "" property var font: ""
property var fontSize: 14 property var fontSize: 14
property var rounding: 10
property var wallDir: "file:///home/lucy/.walls/" property var wallDir: "file:///home/lucy/.walls/"
property bool floating: false property bool floating: false
property int paddingTop: 10
property int paddingSides: 10
property var generateScheme: true property var generateScheme: true
property bool wallSwitcherShown: false property bool wallSwitcherShown: false
property int fontWeight: 600 property int fontWeight: 600