mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Moving time manager in ShaderTerminal since it is only used there.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user