1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Clean up variants from bar whhen removed from plugin data

This commit is contained in:
bbedward
2025-10-09 20:37:14 -04:00
parent 8f3085290d
commit 2de6798f45
2 changed files with 34 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ FocusScope {
anchors.bottomMargin: pluginDelegate.isExpanded ? settingsContainer.height : 0
hoverEnabled: true
cursorShape: pluginDelegate.hasSettings ? Qt.PointingHandCursor : Qt.ArrowCursor
enabled: !pluginDelegate.isExpanded || !pluginDelegate.hasSettings
onClicked: {
if (pluginDelegate.hasSettings) {
pluginsTab.expandedPluginId = pluginsTab.expandedPluginId === pluginDelegate.pluginId ? "" : pluginDelegate.pluginId
@@ -504,6 +505,10 @@ FocusScope {
clip: true
focus: pluginDelegate.isExpanded && pluginDelegate.hasSettings
Keys.onPressed: event => {
event.accepted = true
}
Rectangle {
anchors.fill: parent
color: Theme.surfaceContainerHighest