mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
This commit is contained in:
parent
3942c939e3
commit
9f0c6a6009
7 changed files with 19 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue