You've already forked godot
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:
@@ -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;
|
||||
|
||||
@@ -61,8 +61,8 @@ void TileMapEditor::_notification(int p_what) {
|
||||
if (is_visible_in_tree()) {
|
||||
_update_palette();
|
||||
}
|
||||
|
||||
} // fallthrough
|
||||
FALLTHROUGH;
|
||||
}
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user