Skip to content

Commit 51661db

Browse files
committed
TextBubble: Listen to X scale changes
1 parent 54f7ed3 commit 51661db

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/internal/TextBubble.qml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ TextBubbleShape {
8585
function onScaleChanged() { positionBubble() }
8686
}
8787

88+
Connections {
89+
property Scale transform: Scale {}
90+
target: transform
91+
92+
function onXScaleChanged() { positionBubble() }
93+
94+
Component.onCompleted: transform = root.target.transform[0]
95+
}
96+
8897
Text {
8998
id: bubbleText
9099
anchors.left: parent.left

0 commit comments

Comments
 (0)