aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_profiler.cpp
diff options
context:
space:
mode:
authorCarter Anderson2017-05-27 04:17:05 -0500
committerCarter Anderson2017-05-27 04:17:05 -0500
commit49c00bd19bba0c1278f0e09c4c326e0f449e5bf9 (patch)
tree0b7456b0501b6589fdc5b09063dfc03593506d8e /editor/editor_profiler.cpp
parentf89641907f8b45941f5e67891936ee8050a3ef92 (diff)
downloadgodot-49c00bd19bba0c1278f0e09c4c326e0f449e5bf9.tar.gz
godot-49c00bd19bba0c1278f0e09c4c326e0f449e5bf9.tar.zst
godot-49c00bd19bba0c1278f0e09c4c326e0f449e5bf9.zip
Fix incorrect input event reference in editor_profiler.cpp
Diffstat (limited to 'editor/editor_profiler.cpp')
-rw-r--r--editor/editor_profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp
index d42712673..5aad90348 100644
--- a/editor/editor_profiler.cpp
+++ b/editor/editor_profiler.cpp
@@ -523,7 +523,7 @@ void EditorProfiler::_graph_tex_input(const Ref<InputEvent> &p_ev) {
hover_metric = -1;
}
- if (mb.is_valid() || mb->get_button_mask() & BUTTON_MASK_LEFT) {
+ if (mb.is_valid() || mm->get_button_mask() & BUTTON_MASK_LEFT) {
//cursor_metric=x;
updating_frame = true;