mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +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 );
|
ImGui::SetNextWindowSize( ImVec2( 700, 800 ), ImGuiCond_FirstUseEver );
|
||||||
bool show = true;
|
bool show = true;
|
||||||
ImGui::Begin( "Source view", &show );
|
ImGui::Begin( "Source view", &show, ImGuiWindowFlags_NoScrollbar );
|
||||||
m_sourceView->Render( m_worker );
|
m_sourceView->Render( m_worker );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
if( !show ) m_sourceViewFile = nullptr;
|
if( !show ) m_sourceViewFile = nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user