use the mobiletextcursor from proper namespace
This commit is contained in:
parent
2a636d6671
commit
8431223542
@ -172,7 +172,7 @@ T.ComboBox {
|
|||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: mobileCursor
|
id: mobileCursor
|
||||||
Private.MobileCursor {
|
MobileTextSelection.MobileCursor {
|
||||||
target: textField
|
target: textField
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ T.TextArea {
|
|||||||
cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null
|
cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null
|
||||||
Component {
|
Component {
|
||||||
id: mobileCursor
|
id: mobileCursor
|
||||||
Private.MobileCursor {
|
MobileTextSelection.MobileCursor {
|
||||||
target: control
|
target: control
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ T.TextField {
|
|||||||
cursorPosition = positionAt(event.x, event.y);
|
cursorPosition = positionAt(event.x, event.y);
|
||||||
selectWord();
|
selectWord();
|
||||||
}
|
}
|
||||||
Private.MobileCursor {
|
MobileTextSelection.MobileCursor {
|
||||||
target: control
|
target: control
|
||||||
selectionStartHandle: true
|
selectionStartHandle: true
|
||||||
property var rect: target.positionToRectangle(target.selectionStart)
|
property var rect: target.positionToRectangle(target.selectionStart)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user