diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-01-19 03:31:00 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-01-19 03:31:00 +0100 |
commit | 15750872de52c4b99de04b2e196c7fd2d7705a51 (patch) | |
tree | de4a6637a076b60e16c6e270d40b8b6af91dddf6 /resources/qml/MessageInput.qml | |
parent | Fix qml warnings (diff) | |
download | nheko-15750872de52c4b99de04b2e196c7fd2d7705a51.tar.xz |
Fix completer opening in wrong place after warning fix
Diffstat (limited to 'resources/qml/MessageInput.qml')
-rw-r--r-- | resources/qml/MessageInput.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml index 581416e5..9e9e5b7a 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml @@ -242,8 +242,8 @@ Rectangle { Completer { id: popup - x: textArea.positionToRectangle(textArea.completerTriggeredAt > 0 ? text.completerTriggeredAt : 0).x - y: textArea.positionToRectangle(textArea.completerTriggeredAt > 0 ? text.completerTriggeredAt : 0).y - height + x: textArea.completerTriggeredAt >= 0 ? textArea.positionToRectangle(textArea.completerTriggeredAt).x : 0 + y: textArea.completerTriggeredAt >= 0 ? textArea.positionToRectangle(textArea.completerTriggeredAt).y - height : 0 } Connections { |