Skip to content

Commit

Permalink
fix: hide item still show
Browse files Browse the repository at this point in the history
add visibility to control it's visible.
  • Loading branch information
18202781743 committed Jul 17, 2024
1 parent 482d142 commit 6bc10f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panels/dock/tray/package/TrayItemPositioner.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.deepin.ds.dock.tray 1.0 as DDT
Control {
id: root
property bool itemVisible: {
if (model.sectionType === "collapsable") return !collapsed
if (model.sectionType === "collapsable") return !collapsed && model.visibility
return model.sectionType !== "stashed" && model.visibility
}
property size visualSize: Qt.size(0, 0)
Expand Down

0 comments on commit 6bc10f1

Please sign in to comment.