Skip to content

Commit

Permalink
unideal: comment out tooltip logic in ReEnableComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 20, 2025
1 parent ed674f1 commit baf9e4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions soh/soh/UIWidgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ namespace UIWidgets {
}

void ReEnableComponent(const char* disabledTooltipText) {
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled) && strcmp(disabledTooltipText, "") != 0) {
ImGui::SetTooltip("%s", disabledTooltipText);
}
// if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled) && strcmp(disabledTooltipText, "") != 0) {
// ImGui::SetTooltip("%s", disabledTooltipText);
// }
// End of disable region of previous component
ImGui::PopStyleVar(1);
ImGui::PopItemFlag();
Expand Down

0 comments on commit baf9e4a

Please sign in to comment.