mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Clear histogram range selection by right mouse click.
This commit is contained in:
parent
f510d8d2e7
commit
3a8c976285
@ -2969,7 +2969,11 @@ void View::DrawFindZone()
|
||||
ImGui::Text( "Time spent in the right bins: %s", TimeToString( tAfter ) );
|
||||
ImGui::EndTooltip();
|
||||
|
||||
if( ImGui::IsMouseClicked( 0 ) )
|
||||
if( ImGui::IsMouseClicked( 1 ) )
|
||||
{
|
||||
m_findZone.highlight.active = false;
|
||||
}
|
||||
else if( ImGui::IsMouseClicked( 0 ) )
|
||||
{
|
||||
m_findZone.highlight.active = true;
|
||||
m_findZone.highlight.start = t0;
|
||||
|
Loading…
Reference in New Issue
Block a user