add deeper debug logging to HoverPanel and Volume
This commit is contained in:
parent
6f907fd027
commit
8eaf64eac6
2 changed files with 16 additions and 3 deletions
|
|
@ -55,13 +55,17 @@ PanelWindow {
|
|||
interval: 50
|
||||
onTriggered: {
|
||||
if (!root.showPanel) {
|
||||
console.log("[hp:" + panelNamespace + "] hideTimer fired, starting hideAnim");
|
||||
showAnim.stop();
|
||||
hideAnim.start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_WinVisibleChanged: console.log("[hp:" + panelNamespace + "] _winVisible →", _winVisible)
|
||||
|
||||
onShowPanelChanged: {
|
||||
console.log("[hp:" + panelNamespace + "] showPanel →", showPanel);
|
||||
if (showPanel) {
|
||||
_hideTimer.stop();
|
||||
_updatePosition();
|
||||
|
|
@ -107,11 +111,15 @@ PanelWindow {
|
|||
duration: 150
|
||||
easing.type: Easing.InCubic
|
||||
}
|
||||
onStarted: console.log("[hp:" + panelNamespace + "] hideAnim started")
|
||||
onFinished: root._winVisible = false
|
||||
}
|
||||
|
||||
HoverHandler {
|
||||
onHoveredChanged: root.panelHovered = hovered
|
||||
onHoveredChanged: {
|
||||
console.log("[hp:" + panelNamespace + "] hovered →", hovered);
|
||||
root.panelHovered = hovered;
|
||||
}
|
||||
}
|
||||
|
||||
M.PopupBackground {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue