fix stupid tooltip corner

This commit is contained in:
end-4
2025-04-13 02:27:58 +02:00
parent 08a2cb7234
commit 7b8582124d
4 changed files with 8 additions and 7 deletions
@@ -21,8 +21,9 @@ MouseArea {
item.activate();
break;
case Qt.RightButton:
item.hasMenu && menu.open();
break;
if (item.hasMenu) {
menu.open();
}
default:
console.log("Buttonevent unhandled");
}
@@ -35,8 +36,8 @@ MouseArea {
anchor.window: bar
anchor.rect.x: root.x + bar.width
anchor.rect.y: root.y
anchor.rect.height: root.height * 3
anchor.edges: Edges.Left | Edges.Bottom
anchor.rect.height: root.height
anchor.edges: Edges.Bottom
}
IconImage {