mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Make the annotations list always accessible.
This commit is contained in:
parent
f17a579753
commit
ba4b261ae4
@ -944,11 +944,7 @@ bool View::DrawImpl()
|
|||||||
{
|
{
|
||||||
m_showCpuDataWindow = true;
|
m_showCpuDataWindow = true;
|
||||||
}
|
}
|
||||||
const auto anncnt = m_annotations.size();
|
ToggleButton( ICON_FA_STICKY_NOTE " Annotations", m_showAnnotationList );
|
||||||
if( ButtonDisablable( ICON_FA_STICKY_NOTE " Annotations", anncnt == 0 ) )
|
|
||||||
{
|
|
||||||
m_showAnnotationList = true;
|
|
||||||
}
|
|
||||||
ToggleButton( ICON_FA_RULER " Limits", m_showRanges );
|
ToggleButton( ICON_FA_RULER " Limits", m_showRanges );
|
||||||
const auto cscnt = m_worker.GetContextSwitchSampleCount();
|
const auto cscnt = m_worker.GetContextSwitchSampleCount();
|
||||||
if( ButtonDisablable( ICON_FA_HOURGLASS_HALF " Wait stacks", cscnt == 0 ) )
|
if( ButtonDisablable( ICON_FA_HOURGLASS_HALF " Wait stacks", cscnt == 0 ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user