1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +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

@@ -405,7 +405,8 @@ int Tabs::get_tab_count() const {
void Tabs::set_current_tab(int p_current) {
if (current == p_current) return;
if (current == p_current)
return;
ERR_FAIL_INDEX(p_current, get_tab_count());
previous = current;
@@ -880,7 +881,8 @@ void Tabs::ensure_tab_visible(int p_idx) {
if (!is_inside_tree())
return;
if (tabs.size() == 0) return;
if (tabs.size() == 0)
return;
ERR_FAIL_INDEX(p_idx, tabs.size());
if (p_idx == offset) {