summaryrefslogtreecommitdiff
path: root/src/tutorials/TooltipArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tutorials/TooltipArea.qml')
-rw-r--r--src/tutorials/TooltipArea.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tutorials/TooltipArea.qml b/src/tutorials/TooltipArea.qml
index b6b3d073..8d404beb 100644
--- a/src/tutorials/TooltipArea.qml
+++ b/src/tutorials/TooltipArea.qml
@@ -17,7 +17,7 @@ Rectangle {
anchors.fill: parent
hoverEnabled: true
- onMousePositionChanged: {
+ onPositionChanged: {
if (parent.parent.width - (parent.x + mouseX) < tooltip.width + 50) {
tooltip.x = parent.x + mouseX - 15 - tooltip.width
} else {