fix: unload bar properly
This commit is contained in:
parent
c85dfc6a1b
commit
b3270c6ca8
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
visible: width > 0
|
visible: width > Config.border.thickness
|
||||||
implicitWidth: fullscreen ? 0 : Config.border.thickness
|
implicitWidth: fullscreen ? 0 : Config.border.thickness
|
||||||
|
|
||||||
states: State {
|
states: State {
|
||||||
|
|
@ -78,7 +78,7 @@ Item {
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
active: root.shouldBeVisible || root.visible
|
active: root.shouldBeVisible
|
||||||
|
|
||||||
sourceComponent: Bar {
|
sourceComponent: Bar {
|
||||||
width: root.contentWidth
|
width: root.contentWidth
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue