mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
impr: Further optimize ImGui text rendering
This commit is contained in:
@@ -63,11 +63,11 @@ namespace hex::plugin::builtin {
|
||||
ImGui::TextUnformatted(" ");
|
||||
break;
|
||||
case 0xFF:
|
||||
ImGui::TextDisabled("##");
|
||||
ImGuiExt::TextFormattedDisabled("##");
|
||||
break;
|
||||
default:
|
||||
if (c >= ' ' && c <= '~')
|
||||
ImGui::Text(".%c", c);
|
||||
ImGuiExt::TextFormatted(".{:c}", char(c));
|
||||
else
|
||||
ImGui::Text(getFormatString(upperCase), c);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user