1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Merge pull request #30177 from hbina/use_FALLTHROUGH_macro

Applied some of FALLTHROUGH macro usage from #30122
This commit is contained in:
Rémi Verschelde
2019-06-29 23:40:08 +02:00
committed by GitHub
7 changed files with 19 additions and 12 deletions

View File

@@ -232,7 +232,8 @@ void SpriteFramesEditor::_notification(int p_what) {
_delete->set_icon(get_icon("Remove", "EditorIcons"));
new_anim->set_icon(get_icon("New", "EditorIcons"));
remove_anim->set_icon(get_icon("Remove", "EditorIcons"));
} // Fallthrough.
FALLTHROUGH;
}
case NOTIFICATION_THEME_CHANGED: {
splite_sheet_scroll->add_style_override("bg", get_stylebox("bg", "Tree"));
} break;

View File

@@ -61,8 +61,8 @@ void TileMapEditor::_notification(int p_what) {
if (is_visible_in_tree()) {
_update_palette();
}
} // fallthrough
FALLTHROUGH;
}
case NOTIFICATION_ENTER_TREE: {