You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user