fix: Banner tooltip text not being visible properly

This commit is contained in:
WerWolv
2026-01-19 22:25:39 +01:00
parent 93fc6f2de1
commit 928e0f227a

View File

@@ -30,7 +30,9 @@ namespace hex::ui {
if (ImGui::IsItemHovered()) {
ImGui::SetNextWindowSize(ImVec2(400_scaled, 0));
if (ImGui::BeginTooltip()) {
ImGui::PushStyleColor(ImGuiCol_Text, getColor().Value);
ImGuiExt::TextFormattedWrapped("{}", message);
ImGui::PopStyleColor();
ImGui::EndTooltip();
}
}