summaryrefslogtreecommitdiff
path: root/core/input/input_event.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-29 13:46:38 +0100
committerGitHub <noreply@github.com>2022-01-29 13:46:38 +0100
commit2f57a11ed9b383706b72783c0d9b1e869774e08a (patch)
tree1b2b19bbc51b9b6ee71b3d7599092bdaa7b6dbee /core/input/input_event.cpp
parent9467350f37089eb3f4ef7de683daba28b0c69dec (diff)
parent8a0a3acceee804b91afe31022cf0310c01162f73 (diff)
Merge pull request #55785 from nathanfranke/clang-tidy
Diffstat (limited to 'core/input/input_event.cpp')
-rw-r--r--core/input/input_event.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp
index 4e18efde81..ab0f36132f 100644
--- a/core/input/input_event.cpp
+++ b/core/input/input_event.cpp
@@ -1221,8 +1221,9 @@ String InputEventScreenDrag::to_string() {
bool InputEventScreenDrag::accumulate(const Ref<InputEvent> &p_event) {
Ref<InputEventScreenDrag> drag = p_event;
- if (drag.is_null())
+ if (drag.is_null()) {
return false;
+ }
if (get_index() != drag->get_index()) {
return false;