fix(StatusAppThreePanelLayout): hide right panel when closed

Brought back opacity condition deleted by mistake
This commit is contained in:
Alexandra Betouni 2021-07-23 18:22:54 +03:00 committed by Michał Cieślak
parent fa8925eba0
commit a134ab0d36
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ SplitView {
Control { Control {
SplitView.preferredWidth: root.showRightPanel ? 250 : 0 SplitView.preferredWidth: root.showRightPanel ? 250 : 0
SplitView.minimumWidth: root.showRightPanel ? 50 : 0 SplitView.minimumWidth: root.showRightPanel ? 50 : 0
opacity: root.showRightPanel ? 1.0 : 0.0
visible: (opacity > 0.1) visible: (opacity > 0.1)
contentItem: Loader { contentItem: Loader {
anchors.fill: parent anchors.fill: parent