From 87d86911d7a253546c67c8dfd64c8c67398000fa Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Thu, 11 Sep 2025 18:06:12 -0400 Subject: [PATCH] BarSectionEdit: fix click in the background closing panel, fix ghost bg color when dragging --- Modules/SettingsPanel/Bar/BarSectionEditor.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/SettingsPanel/Bar/BarSectionEditor.qml b/Modules/SettingsPanel/Bar/BarSectionEditor.qml index 73292d2..537469b 100644 --- a/Modules/SettingsPanel/Bar/BarSectionEditor.qml +++ b/Modules/SettingsPanel/Bar/BarSectionEditor.qml @@ -240,7 +240,7 @@ NBox { width: 0 height: Style.baseWidgetSize * 1.15 * scaling radius: Style.radiusL * scaling - color: "transparent" + color: Color.transparent border.color: Color.mOutline border.width: Math.max(1, Style.borderS * scaling) opacity: 0.7 @@ -305,7 +305,7 @@ NBox { acceptedButtons: Qt.LeftButton preventStealing: false - propagateComposedEvents: !dragStarted + propagateComposedEvents: false hoverEnabled: true // Always track mouse for drag operations property point startPos: Qt.point(0, 0) @@ -458,7 +458,7 @@ NBox { // Setup ghost widget if (draggedWidget) { dragGhost.width = draggedWidget.width - dragGhost.color = root.getWidgetColor(draggedModelData) + dragGhost.color = root.getWidgetColor(draggedModelData)[0] ghostText.text = draggedModelData.id } }