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:
authorBartosz Taudul <wolf@nereid.pl>2022-10-13 22:22:46 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-13 22:22:46 +0300
commit4c69b21a29b8459eb0c8e9ac5efde7ef2446c641 (patch)
tree7b179d25f3fa741b6edd1c61b1467a364b6efd5f /server
parent1419283a9128e548a417b8706eeff4798e68e659 (diff)
Reverse mouse buttons for jumping in symbol view.
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;
}