Skip to content

Commit bebf208

Browse files
committed
Expose setting public sidecar in UI.
1 parent 5f6bc22 commit bebf208

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

profiler/src/profiler/TracyView_TraceInfo.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ void View::DrawInfo()
4141
TextFocused( "File:", m_filename.c_str() );
4242
if( m_userData.Valid() )
4343
{
44+
ImGui::SameLine();
45+
auto sidecarPublic = m_userData.IsSidecarPublic();
46+
if( SmallCheckbox( "Public sidecar", &sidecarPublic ) )
47+
{
48+
m_userData.SetSidecarPublic( sidecarPublic );
49+
}
4450
}
4551
}
4652
{

0 commit comments

Comments
 (0)