1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Push small font to SourceView.

This commit is contained in:
Bartosz Taudul
2021-11-20 14:47:13 +01:00
parent f0d524ad1f
commit 7b2ed41179
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -15277,7 +15277,7 @@ void View::DrawTextEditor()
ImGui::SetNextWindowSize( ImVec2( 1800 * scale, 800 * scale ), ImGuiCond_FirstUseEver );
bool show = true;
ImGui::Begin( "Source view", &show, ImGuiWindowFlags_NoScrollbar );
m_sourceView->UpdateFont( m_fixedFont );
m_sourceView->UpdateFont( m_fixedFont, m_smallFont );
m_sourceView->Render( m_worker, *this );
ImGui::End();
if( !show ) m_sourceViewFile = nullptr;