refactor: Load tooltips from commands and disable unusable command buttons (#777)

* Set tooltips from command descriptions
* Disable unusable commands
This commit is contained in:
pelecanidae
2022-12-29 20:43:31 -05:00
committed by GitHub
parent 2b1aee98de
commit bd7bc362e3
3 changed files with 24 additions and 8 deletions

View File

@ -54,8 +54,6 @@ namespace big
components::command_checkbox<"mobileradio">();
ImGui::Checkbox("Dance Mode", &g.self.dance_mode);
if (ImGui::IsItemHovered())
ImGui::SetTooltip("Hold Right DPAD or E to enter dance mode");
ImGui::EndGroup();