effects/private: Port potential misuse of a dragHandler to activeDragHandler
There are two drag handlers, and an `activeDragHandler` property to switch between them. That's what other code is doing in this component.
This commit is contained in:
parent
1c1cf61b1f
commit
766d64c1e5
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ Item {
|
|||
margins: PlasmaCore.Units.smallSpacing
|
||||
}
|
||||
|
||||
visible: thumb.closeButtonVisible && (hoverHandler.hovered || Kirigami.Settings.tabletMode || Kirigami.Settings.hasTransientTouchInput) && thumb.client.closeable && !dragHandler.active
|
||||
visible: thumb.closeButtonVisible && (hoverHandler.hovered || Kirigami.Settings.tabletMode || Kirigami.Settings.hasTransientTouchInput) && thumb.client.closeable && !thumb.activeDragHandler.active
|
||||
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
|
||||
|
||||
text: i18ndc("kwin_effects", "@info:tooltip as in: 'close this window'", "Close window")
|
||||
|
|
Loading…
Reference in a new issue