mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Proper way to detect mouse click.
This commit is contained in:
parent
e8a9d228c5
commit
5caeffa19a
@ -3,6 +3,7 @@
|
||||
#include "TracyColor.hpp"
|
||||
#include "TracyEvent.hpp"
|
||||
#include "TracyImGui.hpp"
|
||||
#include "TracyMouse.hpp"
|
||||
#include "TracyPrint.hpp"
|
||||
#include "TracyVector.hpp"
|
||||
#include "TracyView.hpp"
|
||||
@ -343,7 +344,7 @@ void View::DrawFlameGraphItem( const FlameGraphItem& item, FlameGraphContext& ct
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
|
||||
if( ImGui::IsMouseClicked( 0 ) )
|
||||
if( IsMouseClicked( 0 ) )
|
||||
{
|
||||
m_findZone.ShowZone( item.srcloc, slName );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user