mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 00:52:11 +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 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
 | 
					    property variant randomFunctionSource: randfuncsource
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // If something goes wrong activate the fallback version of the shader.
 | 
					    // If something goes wrong activate the fallback version of the shader.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,10 +108,6 @@ ApplicationWindow{
 | 
				
			|||||||
    ApplicationSettings{
 | 
					    ApplicationSettings{
 | 
				
			||||||
        id: shadersettings
 | 
					        id: shadersettings
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    TimeManager{
 | 
					 | 
				
			||||||
        id: timeManager
 | 
					 | 
				
			||||||
        enableTimer: terminalWindow.visible
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    TerminalContainer{
 | 
					    TerminalContainer{
 | 
				
			||||||
        id: terminalContainer
 | 
					        id: terminalContainer
 | 
				
			||||||
        anchors.fill: parent
 | 
					        anchors.fill: parent
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user