mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Feedback changes
This commit is contained in:
parent
f8102be74d
commit
9a8fda2705
3 changed files with 10 additions and 12 deletions
|
@ -68,13 +68,11 @@ Windows.Window {
|
|||
|
||||
Timer {
|
||||
id: timer
|
||||
}
|
||||
|
||||
function delay(delayTimeMS, delayFunction) {
|
||||
timer.interval = delayTimeMS;
|
||||
timer.repeat = false;
|
||||
timer.triggered.connect(delayFunction);
|
||||
timer.start();
|
||||
interval: 500;
|
||||
repeat: false;
|
||||
onTriggered: {
|
||||
updateContentParent();
|
||||
}
|
||||
}
|
||||
|
||||
function updateInteractiveWindowPositionForMode() {
|
||||
|
@ -146,10 +144,10 @@ Windows.Window {
|
|||
id: root;
|
||||
width: interactiveWindowSize.width
|
||||
height: interactiveWindowSize.height
|
||||
// fix for missing content on OSX initial startup with a non-maximized interface window. It seems that in this case, we cannot update
|
||||
// the content parent during creation of the Window root. This added delay will update the parent after the root has finished loading.
|
||||
Component.onCompleted: {
|
||||
delay(500, function() {
|
||||
updateContentParent();
|
||||
});
|
||||
timer.start();
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -798,4 +798,4 @@ function toggleEmojiApp() {
|
|||
|
||||
var emote = setup();
|
||||
|
||||
module.exports = emote;
|
||||
module.exports = emote;
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// SimplifiedEmoteIndicator.qml
|
||||
//
|
||||
// Created by Milad Nazeri on 2019-08-05
|
||||
|
|
Loading…
Reference in a new issue