summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/FlameGraphView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/Profiler/FlameGraphView.cpp')
-rw-r--r--Userland/DevTools/Profiler/FlameGraphView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Profiler/FlameGraphView.cpp b/Userland/DevTools/Profiler/FlameGraphView.cpp
index 6c57d7f0ff..76fcffeb9c 100644
--- a/Userland/DevTools/Profiler/FlameGraphView.cpp
+++ b/Userland/DevTools/Profiler/FlameGraphView.cpp
@@ -88,7 +88,7 @@ void FlameGraphView::mousemove_event(GUI::MouseEvent& event)
void FlameGraphView::mousedown_event(GUI::MouseEvent& event)
{
- if (event.button() != GUI::MouseButton::Left)
+ if (event.button() != GUI::MouseButton::Primary)
return;
if (!m_hovered_bar)