fix: move panel HoverHandler to panelContainer to prevent wiggle near pin button
This commit is contained in:
parent
df9070296b
commit
dca6a8ac5c
1 changed files with 6 additions and 6 deletions
|
|
@ -202,15 +202,15 @@ PanelWindow {
|
||||||
enabled: root.popupMode
|
enabled: root.popupMode
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
|
||||||
id: panelContent
|
|
||||||
width: root.contentWidth
|
|
||||||
|
|
||||||
HoverHandler {
|
HoverHandler {
|
||||||
enabled: !root.popupMode && !root._pinned
|
enabled: !root.popupMode && !root._pinned
|
||||||
onHoveredChanged: if (!root.popupMode && !root._pinned)
|
onHoveredChanged: if (!root.popupMode && !root._pinned)
|
||||||
root.panelHovered = hovered
|
root.panelHovered = hovered
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Column {
|
||||||
|
id: panelContent
|
||||||
|
width: root.contentWidth
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pin button — top-right corner, hover mode only
|
// Pin button — top-right corner, hover mode only
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue