simplify formatting scripts, add a clang-tidy script, and run clang-tidy
This commit is contained in:
parent
01f5d7c616
commit
8a0a3accee
36 changed files with 288 additions and 244 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue