fix: close other popouts when hover activewindow
This commit is contained in:
parent
5d492539d1
commit
377778596a
1 changed files with 6 additions and 0 deletions
|
|
@ -44,6 +44,12 @@ Item {
|
|||
|
||||
sourceComponent: MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
hoverEnabled: true
|
||||
onPositionChanged: {
|
||||
const popouts = root.bar.popouts;
|
||||
if (popouts.hasCurrent && popouts.currentName !== "activewindow")
|
||||
popouts.hasCurrent = false;
|
||||
}
|
||||
onClicked: {
|
||||
const popouts = root.bar.popouts;
|
||||
if (popouts.hasCurrent) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue