From 16b116ee83406644ea24cff7ed913adb621295a9 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 5 Jun 2020 19:04:12 +0200 Subject: [PATCH] Enable horizontal scrollbar in source view. --- server/TracySourceView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index eccf19fa..b9a74c32 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -889,7 +889,7 @@ void SourceView::Render( const Worker& worker, View& view ) void SourceView::RenderSimpleSourceView() { - ImGui::BeginChild( "##sourceView", ImVec2( 0, 0 ), true ); + ImGui::BeginChild( "##sourceView", ImVec2( 0, 0 ), true, ImGuiWindowFlags_HorizontalScrollbar ); if( m_font ) ImGui::PushFont( m_font ); auto draw = ImGui::GetWindowDrawList(); @@ -1376,7 +1376,7 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_map