mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:36:47 +02:00
Inject keyboard raising and lowering script into marketplaces window
This commit is contained in:
parent
420f65b1aa
commit
b3cc69d608
1 changed files with 10 additions and 0 deletions
|
@ -49,6 +49,16 @@ Rectangle {
|
||||||
height: parent.height - statusBarHeight - keyboard.height
|
height: parent.height - statusBarHeight - keyboard.height
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
|
// Detect when may want to raise and lower keyboard.
|
||||||
|
WebEngineScript {
|
||||||
|
id: raiseAndLowerKeyboard
|
||||||
|
injectionPoint: WebEngineScript.Deferred
|
||||||
|
sourceUrl: resourceDirectoryUrl + "/html/raiseAndLowerKeyboard.js"
|
||||||
|
worldId: WebEngineScript.MainWorld
|
||||||
|
}
|
||||||
|
|
||||||
|
userScripts: [ raiseAndLowerKeyboard ]
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: alertTimer
|
id: alertTimer
|
||||||
running: false
|
running: false
|
||||||
|
|
Loading…
Reference in a new issue