mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Highlight locks hovered in the options menu.
This commit is contained in:
parent
bec27f7d60
commit
92a7e02e73
@ -4924,9 +4924,14 @@ void View::DrawOptions()
|
||||
char buf[1024];
|
||||
sprintf( buf, "%" PRIu32 ": %s", l.first, m_worker.GetString( m_worker.GetSourceLocation( l.second.srcloc ).function ) );
|
||||
ImGui::Checkbox( buf, &Visible( &l.second ) );
|
||||
if( ImGui::IsItemClicked( 1 ) )
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
m_lockInfoWindow = l.first;
|
||||
m_lockHoverHighlight = l.first;
|
||||
|
||||
if( ImGui::IsItemClicked( 1 ) )
|
||||
{
|
||||
m_lockInfoWindow = l.first;
|
||||
}
|
||||
}
|
||||
if( m_optionsLockBuzzAnim.Match( l.second.srcloc ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user