diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 68c6f96a..edb51c25 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4710,8 +4710,9 @@ void View::DrawFindZone() return; } + ImGui::PushItemWidth( -0.01f ); ImGui::InputText( "", m_findZone.pattern, 1024 ); - ImGui::SameLine(); + ImGui::PopItemWidth(); #ifdef TRACY_EXTENDED_FONT const bool findClicked = ImGui::Button( ICON_FA_SEARCH " Find" ); @@ -4728,6 +4729,9 @@ void View::DrawFindZone() { m_findZone.Reset(); } + ImGui::SameLine(); + + ImGui::Checkbox( "Ignore case", &m_findZone.ignoreCase ); if( findClicked ) { diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 5d592ae6..7cf9703e 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -287,6 +287,7 @@ private: }; bool show = false; + bool ignoreCase = false; std::vector match; std::map groups; size_t processed;