mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
make cursor position change based on mouse click position
This commit is contained in:
parent
a9197509d8
commit
93d1725b3c
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ Rectangle {
|
|||
onClicked: {
|
||||
newModelDialog.keyboardEnabled = HMD.active
|
||||
parent.focus = true;
|
||||
parent.forceActiveFocus()
|
||||
parent.forceActiveFocus();
|
||||
modelURL.cursorPosition = modelURL.positionAt(mouseX, mouseY, TextInput.CursorBetweenCharaters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue