mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
should fix build
This commit is contained in:
parent
82b097fee5
commit
0953e0ca83
1 changed files with 2 additions and 2 deletions
|
@ -112,9 +112,9 @@ namespace SohImGui {
|
|||
return fmin(fmax(value,min),max);
|
||||
}
|
||||
|
||||
void Tooltip(std::string text) {
|
||||
void Tooltip(const char* text) {
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("%s", text.c_str());
|
||||
ImGui::SetTooltip("%s", text);
|
||||
}
|
||||
|
||||
void ImGuiWMInit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue