mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:40:06 +00:00 
			
		
		
		
	Always resize ImGui windows when rendering placefile text to avoid clipping
This commit is contained in:
		
							parent
							
								
									6dedce5089
								
							
						
					
					
						commit
						c6801722a1
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -104,7 +104,8 @@ void PlacefileLayer::Impl::RenderText( | |||
|       ImVec2 {x, y}, ImGuiCond_Always, ImVec2 {0.5f, 0.5f}); | ||||
|    ImGui::Begin(windowName.c_str(), | ||||
|                 nullptr, | ||||
|                 ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav | | ||||
|                 ImGuiWindowFlags_AlwaysAutoResize | | ||||
|                    ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav | | ||||
|                    ImGuiWindowFlags_NoBackground); | ||||
| 
 | ||||
|    // Render text
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat