You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add a separate application focus/in notification out from Window focus notification.
This commit is contained in:
@@ -780,7 +780,7 @@ void TextureRegionEditor::_notification(int p_what) {
|
||||
_update_autoslice();
|
||||
}
|
||||
} break;
|
||||
case NOTIFICATION_WM_FOCUS_IN: {
|
||||
case NOTIFICATION_WM_WINDOW_FOCUS_IN: {
|
||||
// This happens when the user leaves the Editor and returns,
|
||||
// they could have changed the textures, so the cache is cleared.
|
||||
cache_map.clear();
|
||||
|
||||
Reference in New Issue
Block a user