You've already forked godot
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user