fix settings issue

This commit is contained in:
lucy 2026-09-04 13:25:59 +02:00
commit ba2ed9e11d
3 changed files with 9 additions and 9 deletions

View file

@ -19,9 +19,9 @@ Variants {
color: 'transparent'
implicitHeight: Config.cfg.bar.height
margins.top: Config.cfg.bar.floating ?? 10
margins.left: Config.cfg.bar.floating ?? 10
margins.right: Config.cfg.bar.floating ?? 10
margins.top: Config.cfg.bar.floating ? 10 : 0
margins.left: Config.cfg.bar.floating ? 10 : 0
margins.right: Config.cfg.bar.floating ? 10 : 0
Rectangle {
anchors.fill: parent
color: Colors.barBg
@ -54,7 +54,6 @@ Variants {
}
Bat {
id: bat
}
StyledText {
text: "|"

View file

@ -31,7 +31,7 @@ Singleton {
property int rounding: 16
}
property JsonObject bar: JsonObject {
property bool floating: true
property bool floating: false
property int height: 40
property real opacity: 1.0
}

View file

@ -5,9 +5,10 @@ import qs.modules.bar
import qs.modules.notifications
import qs.modules.overlays
import qs.modules.Services
import qs.settings
ShellRoot {
Bar {}
Bottom {}
Top {}
Bar {}
}