fix bug that a font lapse after widget resizes
This commit is contained in:
		
							parent
							
								
									60c85cff52
								
							
						
					
					
						commit
						77f7bdb37c
					
				@ -950,6 +950,7 @@ namespace detail
 | 
			
		||||
			{
 | 
			
		||||
				//If allocation fails, here throws std::bad_alloc.
 | 
			
		||||
				graph.make(sz);
 | 
			
		||||
				graph.typeface(wd->drawer.graphics.typeface());
 | 
			
		||||
				if (category::flags::root == wd->other.category)
 | 
			
		||||
					root_graph.make(sz);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user