mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +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 {
|
Timer {
|
||||||
id: timer
|
id: timer
|
||||||
}
|
interval: 500;
|
||||||
|
repeat: false;
|
||||||
function delay(delayTimeMS, delayFunction) {
|
onTriggered: {
|
||||||
timer.interval = delayTimeMS;
|
updateContentParent();
|
||||||
timer.repeat = false;
|
}
|
||||||
timer.triggered.connect(delayFunction);
|
|
||||||
timer.start();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateInteractiveWindowPositionForMode() {
|
function updateInteractiveWindowPositionForMode() {
|
||||||
|
@ -146,10 +144,10 @@ Windows.Window {
|
||||||
id: root;
|
id: root;
|
||||||
width: interactiveWindowSize.width
|
width: interactiveWindowSize.width
|
||||||
height: interactiveWindowSize.height
|
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: {
|
Component.onCompleted: {
|
||||||
delay(500, function() {
|
timer.start();
|
||||||
updateContentParent();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
@ -798,4 +798,4 @@ function toggleEmojiApp() {
|
||||||
|
|
||||||
var emote = setup();
|
var emote = setup();
|
||||||
|
|
||||||
module.exports = emote;
|
module.exports = emote;
|
|
@ -1,4 +1,4 @@
|
||||||
//
|
//
|
||||||
// SimplifiedEmoteIndicator.qml
|
// SimplifiedEmoteIndicator.qml
|
||||||
//
|
//
|
||||||
// Created by Milad Nazeri on 2019-08-05
|
// Created by Milad Nazeri on 2019-08-05
|
||||||
|
|
Loading…
Reference in a new issue