diff --git a/app/qml/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml index ebb7ae8..b480e34 100644 --- a/app/qml/ShaderTerminal.qml +++ b/app/qml/ShaderTerminal.qml @@ -53,7 +53,12 @@ ShaderEffect { property real screen_brightness: shadersettings.brightness * 1.5 + 0.5 - property real time: timeManager.time + TimeManager{ + id: timeManager + enableTimer: terminalWindow.visible + } + + property alias time: timeManager.time property variant randomFunctionSource: randfuncsource // If something goes wrong activate the fallback version of the shader. diff --git a/app/qml/main.qml b/app/qml/main.qml index 6341588..47ef012 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -108,10 +108,6 @@ ApplicationWindow{ ApplicationSettings{ id: shadersettings } - TimeManager{ - id: timeManager - enableTimer: terminalWindow.visible - } TerminalContainer{ id: terminalContainer anchors.fill: parent