ui: Turned spinner into ImGui widget

This commit is contained in:
WerWolv
2021-02-22 13:06:53 +01:00
parent 7f21cdffa2
commit ced9706c5b
6 changed files with 11 additions and 6 deletions

View File

@@ -267,7 +267,7 @@ namespace hex {
ImGui::SameLine();
if (this->m_evaluatorRunning)
ImGui::Text("hex.view.pattern.evaluating"_lang, "|/-\\"[u8(ImGui::GetTime() * 20) % 4]);
ImGui::TextSpinner("hex.view.pattern.evaluating"_lang);
else
ImGui::Checkbox("hex.view.pattern.auto"_lang, &this->m_runAutomatically);