summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Background.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-23 23:04:28 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-23 23:04:28 +1000
commit982a5a3e8de4abb322b53ea0bf77b5e57860540f (patch)
tree59bff3a6eb8ea4c8de6d208465d0ea1361f15465 /modules/bar/popouts/Background.qml
parentinternal: better styled switch (diff)
downloadcaelestia-shell-982a5a3e8de4abb322b53ea0bf77b5e57860540f.tar.gz
caelestia-shell-982a5a3e8de4abb322b53ea0bf77b5e57860540f.tar.bz2
caelestia-shell-982a5a3e8de4abb322b53ea0bf77b5e57860540f.zip
dcontent: create bluetooth panel
Diffstat (limited to 'modules/bar/popouts/Background.qml')
-rw-r--r--modules/bar/popouts/Background.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/popouts/Background.qml b/modules/bar/popouts/Background.qml
index f7d568f..14f5f20 100644
--- a/modules/bar/popouts/Background.qml
+++ b/modules/bar/popouts/Background.qml
@@ -8,7 +8,7 @@ ShapePath {
required property Wrapper wrapper
required property bool invertBottomRounding
- readonly property real rounding: Config.border.rounding
+ readonly property real rounding: wrapper.isDetached ? Appearance.rounding.normal : Config.border.rounding
readonly property bool flatten: wrapper.width < rounding * 2
readonly property real roundingX: flatten ? wrapper.width / 2 : rounding
property real ibr: invertBottomRounding ? -1 : 1