Browse Source

Bugfix: Pinging a resource in the project library will now scroll to it

BearishSun 6 years ago
parent
commit
7558fae29c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/EditorManaged/Windows/Library/LibraryWindow.cs

+ 2 - 0
Source/EditorManaged/Windows/Library/LibraryWindow.cs

@@ -410,6 +410,8 @@ namespace bs.Editor
             content.MarkAsPinged(pingPath, false);
             content.MarkAsPinged(pingPath, false);
             pingPath = path;
             pingPath = path;
             content.MarkAsPinged(pingPath, true);
             content.MarkAsPinged(pingPath, true);
+
+            ScrollToEntry(pingPath);
         }
         }
 
 
         /// <summary>
         /// <summary>