Convert _notification methods to switch - Chunk C

This commit is contained in:
Jakob Bouchard 2022-02-16 09:17:55 -05:00
parent 98b97d34df
commit 6553f5c242
No known key found for this signature in database
GPG key ID: 1322EC579631D074
37 changed files with 378 additions and 327 deletions

View file

@ -203,6 +203,7 @@ void ThemeEditorPreview::_notification(int p_what) {
theme_cache.preview_picker_font = get_theme_font(SNAME("status_source"), SNAME("EditorFonts"));
theme_cache.font_size = get_theme_font_size(SNAME("font_size"), SNAME("EditorFonts"));
} break;
case NOTIFICATION_PROCESS: {
time_left -= get_process_delta_time();
if (time_left < 0) {