mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:20:06 +00:00 
			
		
		
		
	Update imgui to v1.89.9
This commit is contained in:
		
							parent
							
								
									c954f25fc5
								
							
						
					
					
						commit
						06e170757a
					
				
					 2 changed files with 8 additions and 6 deletions
				
			
		|  | @ -32,11 +32,13 @@ void ImGui::DrawTooltip(const std::string& hoverText) | |||
|    auto tooltipFont = manager::FontManager::Instance().GetImGuiFont( | ||||
|       types::FontCategory::Tooltip); | ||||
| 
 | ||||
|    ::ImGui::BeginTooltip(); | ||||
|    ::ImGui::PushFont(tooltipFont->font()); | ||||
|    ::ImGui::TextUnformatted(hoverText.c_str()); | ||||
|    ::ImGui::PopFont(); | ||||
|    ::ImGui::EndTooltip(); | ||||
|    if (::ImGui::BeginTooltip()) | ||||
|    { | ||||
|       ::ImGui::PushFont(tooltipFont->font()); | ||||
|       ::ImGui::TextUnformatted(hoverText.c_str()); | ||||
|       ::ImGui::PopFont(); | ||||
|       ::ImGui::EndTooltip(); | ||||
|    } | ||||
| } | ||||
| 
 | ||||
| ImGui& ImGui::Instance() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat