mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Disable scrollbar for source view window.
This commit is contained in:
parent
ef56c7fa7c
commit
3398c969ac
@ -12982,7 +12982,7 @@ void View::DrawTextEditor()
|
||||
{
|
||||
ImGui::SetNextWindowSize( ImVec2( 700, 800 ), ImGuiCond_FirstUseEver );
|
||||
bool show = true;
|
||||
ImGui::Begin( "Source view", &show );
|
||||
ImGui::Begin( "Source view", &show, ImGuiWindowFlags_NoScrollbar );
|
||||
m_sourceView->Render( m_worker );
|
||||
ImGui::End();
|
||||
if( !show ) m_sourceViewFile = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user