mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 20:20:45 +00:00
Moving time manager in ShaderTerminal since it is only used there.
This commit is contained in:
parent
4f22704922
commit
5552bea525
@ -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.
|
||||
|
@ -108,10 +108,6 @@ ApplicationWindow{
|
||||
ApplicationSettings{
|
||||
id: shadersettings
|
||||
}
|
||||
TimeManager{
|
||||
id: timeManager
|
||||
enableTimer: terminalWindow.visible
|
||||
}
|
||||
TerminalContainer{
|
||||
id: terminalContainer
|
||||
anchors.fill: parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user