mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
impr: Added path tooltips to accept pattern popup
This commit is contained in:
@@ -37,7 +37,9 @@ namespace hex::plugin::builtin {
|
||||
else
|
||||
ImGui::TextFormattedCentered("{}", "hex.builtin.popup.docs_question.prompt"_lang);
|
||||
} else {
|
||||
int id = 1;
|
||||
for (auto &[type, text] : this->m_answer) {
|
||||
ImGui::PushID(id);
|
||||
switch (type) {
|
||||
case TextBlockType::Text:
|
||||
ImGui::TextFormattedWrapped("{}", text);
|
||||
@@ -54,6 +56,9 @@ namespace hex::plugin::builtin {
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
ImGui::PopID();
|
||||
id += 1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user