summaryrefslogtreecommitdiff
path: root/src/controls/TextArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r--src/controls/TextArea.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml
index 03152763..c6ae1031 100644
--- a/src/controls/TextArea.qml
+++ b/src/controls/TextArea.qml
@@ -898,9 +898,8 @@ ScrollView {
x: mappedPos.x
y: mappedPos.y
- visible: pressed || ((edit.cursorVisible || edit.hasSelection)
- && handleY + handleHeight >= -1 && handleY <= viewport.height + 1
- && handleX + handleWidth >= -1 && handleX <= viewport.width + 1)
+ visible: pressed || (edit.hasSelection && handleY + handleHeight >= -1 && handleY <= viewport.height + 1
+ && handleX + handleWidth >= -1 && handleX <= viewport.width + 1)
onPositionChanged: {
if (!edit.blockRecursion) {