mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 01:30:05 +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
2
external/imgui
vendored
2
external/imgui
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 81160fee56027226bc80b48e196d0332f5541a8c
|
||||
Subproject commit c6e0284ac58b3f205c95365478888f7b53b077e2
|
||||
|
|
@ -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