Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/TracySourceView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp
index 9323cb6b..726d5b5f 100644
--- a/server/TracySourceView.cpp
+++ b/server/TracySourceView.cpp
@@ -3352,7 +3352,7 @@ void SourceView::RenderLine( const Tokenizer::Line& line, int lineNum, const Add
if( !mouseHandled && ( ImGui::IsMouseClicked( 0 ) || ImGui::IsMouseClicked( 1 ) ) )
{
m_displayMode = DisplayMixed;
- SelectLine( lineNum, worker, ImGui::IsMouseClicked( 1 ) );
+ SelectLine( lineNum, worker, ImGui::IsMouseClicked( 0 ) );
}
else
{
@@ -3794,7 +3794,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
{
if( m_source.filename() == fileName )
{
- if( ImGui::IsMouseClicked( 1 ) ) m_targetLine = srcline;
+ if( ImGui::IsMouseClicked( 0 ) ) m_targetLine = srcline;
SelectLine( srcline, &worker, false );
m_displayMode = DisplayMixed;
}