fix: Icon text input boxes being wider than expected

This commit is contained in:
WerWolv
2024-05-15 18:26:44 +02:00
parent c69d3bc7f4
commit 027ff793ed
2 changed files with 2 additions and 2 deletions

View File

@@ -911,7 +911,7 @@ namespace hex::plugin::builtin {
auto &currOccurrences = *m_sortedOccurrences;
ImGui::PushItemWidth(-30_scaled);
ImGui::PushItemWidth(-15_scaled);
auto prevFilterLength = m_currFilter->length();
if (ImGuiExt::InputTextIcon("##filter", ICON_VS_FILTER, *m_currFilter)) {
if (prevFilterLength > m_currFilter->length())