mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	view: scale view_maximize()
This commit is contained in:
		
							parent
							
								
									6737aeabcd
								
							
						
					
					
						commit
						8898693160
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -70,7 +70,7 @@ view_maximize(struct view *view, bool maximize)
 | 
			
		|||
			box.width -= border.right + border.left;
 | 
			
		||||
			box.height -= border.top + border.bottom;
 | 
			
		||||
		}
 | 
			
		||||
		scale_box(&box, output->scale);
 | 
			
		||||
		scale_box(&box, 1 / output->scale);
 | 
			
		||||
		view_move_resize(view, box);
 | 
			
		||||
		view_move(view, box.x, box.y);
 | 
			
		||||
		view->maximized = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue