1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Style: clang-format: Disable AllowShortIfStatementsOnASingleLine

This commit is contained in:
Rémi Verschelde
2021-05-04 14:28:27 +02:00
parent 6e600cb3f0
commit 3d15f04668
128 changed files with 872 additions and 455 deletions

View File

@@ -1064,7 +1064,8 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
int cnt = 0;
for (int i = cc.length; --i >= 0; cnt += cc[i] != 0 ? 1 : 0)
;
if (cnt == 0) return false;
if (cnt == 0)
return false;
mView.queueEvent(new Runnable() {
// This method will be called on the rendering thread:
public void run() {