mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	LibGfx: Remove VERIFY in draw_rect_with_thickness
draw_line with thickness already supports scaling so that verify isn't
needed anymore. This fixes a scaling chrash introduced in 8a1d77f.
			
			
This commit is contained in:
		
							parent
							
								
									4abc2f669a
								
							
						
					
					
						commit
						c4b78bee45
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -593,8 +593,6 @@ void Painter::draw_rect(IntRect const& a_rect, Color color, bool rough) | |||
| 
 | ||||
| void Painter::draw_rect_with_thickness(IntRect const& rect, Color color, int thickness) | ||||
| { | ||||
|     VERIFY(scale() == 1); // FIXME: Add scaling support.
 | ||||
| 
 | ||||
|     if (thickness <= 0) | ||||
|         return; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Filiph Sandström
						Filiph Sandström