mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 00:52:11 +00:00 
			
		
		
		
	Force integer values for new margins.
This commit is contained in:
		@@ -70,9 +70,9 @@ Item{
 | 
				
			|||||||
    QMLTermWidget {
 | 
					    QMLTermWidget {
 | 
				
			||||||
        id: kterminal
 | 
					        id: kterminal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        property real margin: appSettings.margin / screenScaling
 | 
					        property int margin: appSettings.margin / screenScaling
 | 
				
			||||||
        property real totalWidth: 2 * margin + width
 | 
					        property int totalWidth: 2 * margin + width
 | 
				
			||||||
        property real totalHeight: 2 * margin + height
 | 
					        property int totalHeight: 2 * margin + height
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        width: Math.floor(parent.width / (screenScaling * fontWidth))
 | 
					        width: Math.floor(parent.width / (screenScaling * fontWidth))
 | 
				
			||||||
        height: Math.floor(parent.height / screenScaling)
 | 
					        height: Math.floor(parent.height / screenScaling)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user