diff options
author | Nathan Franke <me@nathan.sh> | 2022-01-27 10:34:33 -0600 |
---|---|---|
committer | Nathan Franke <me@nathan.sh> | 2022-01-29 04:41:03 -0600 |
commit | 8a0a3acceee804b91afe31022cf0310c01162f73 (patch) | |
tree | 7bd0ff57dadd6d26c5d03bd49658c6c4568788c1 /editor/debugger | |
parent | 01f5d7c616920373ff7d140673bc6f8301213713 (diff) |
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
Diffstat (limited to 'editor/debugger')
-rw-r--r-- | editor/debugger/editor_profiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index d5e825a26c..da1d6a54f2 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -456,8 +456,9 @@ void EditorProfiler::_graph_tex_input(const Ref<InputEvent> &p_ev) { if (mb.is_valid() || (mm->get_button_mask() & MouseButton::MASK_LEFT) != MouseButton::NONE) { updating_frame = true; - if (x < total_metrics) + if (x < total_metrics) { cursor_metric_edit->set_value(_get_frame_metric(x).frame_number); + } updating_frame = false; if (activate->is_pressed()) { |