remove hover panel debug logging
This commit is contained in:
parent
8c2ff6203f
commit
36807f0ad0
1 changed files with 0 additions and 2 deletions
|
|
@ -132,7 +132,6 @@ PanelWindow {
|
|||
}
|
||||
|
||||
function dismiss() {
|
||||
console.log("HoverPanel.dismiss ns=" + panelNamespace + " popup=" + popupMode + " grace=" + _grace + " showPanel=" + showPanel + " pinned=" + _pinned);
|
||||
_pinned = false;
|
||||
showAnim.stop();
|
||||
hideAnim.start();
|
||||
|
|
@ -214,7 +213,6 @@ PanelWindow {
|
|||
onTapped: {
|
||||
const p = point.position;
|
||||
const pad = 8;
|
||||
console.log("HoverPanel tap ns=" + root.panelNamespace + " at=(" + p.x.toFixed(0) + "," + p.y.toFixed(0) + ") container=(" + panelContainer.x + "," + panelContainer.y + " " + panelContainer.width + "x" + panelContainer.height + ")");
|
||||
if (p.x < panelContainer.x - pad || p.x > panelContainer.x + panelContainer.width + pad || p.y < panelContainer.y - pad || p.y > panelContainer.y + panelContainer.height + pad)
|
||||
root.dismiss();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue