Skip to content

Commit

Permalink
fix: plugin item cannot be clicked after the collapsible area is coll…
Browse files Browse the repository at this point in the history
…apsed. (linuxdeepin#566)

as title

Log: as title
issue: linuxdeepin/developer-center#9723
Influence: plugin item can be clicked
  • Loading branch information
yixinshark authored Jul 19, 2024
1 parent 94094e6 commit c3d9ff0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ Button {
id: surfaceItem
anchors.centerIn: parent
shellSurface: pluginItem.plugin
inputEventsEnabled: !DDT.TraySortOrderModel.collapsed
}

Component.onCompleted: {
Expand Down
1 change: 1 addition & 0 deletions panels/dock/tray/package/TrayItemDelegateChooser.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ LQM.DelegateChooser {
visualSize: traySurfaceDelegate.visualSize
contentItem: ActionLegacyTrayPluginDelegate {
id: traySurfaceDelegate
inputEventsEnabled: model.sectionType !== "collapsable" || !DDT.TraySortOrderModel.collapsed
}
}
}
Expand Down

0 comments on commit c3d9ff0

Please sign in to comment.