Fix updating Content folder name when renamed in Finder on macOS

This commit is contained in:
Wojtek Figat
2023-10-02 13:11:20 +02:00
parent 8a9d0271a3
commit 5fe135e10b
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ namespace FlaxEditor.Content
//_watcher.Changed += OnEvent;
_watcher.Created += OnEvent;
_watcher.Deleted += OnEvent;
//_watcher.Renamed += OnEvent;
_watcher.Renamed += OnEvent;
}
private void OnEvent(object sender, FileSystemEventArgs e)

View File

@@ -1207,6 +1207,7 @@ namespace FlaxEditor.Modules
{
case WatcherChangeTypes.Created:
case WatcherChangeTypes.Deleted:
case WatcherChangeTypes.Renamed:
{
lock (_dirtyNodes)
{