Browse Source

Bugfix: Fix an issue where Library items could sometimes not be dragged

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

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

@@ -1252,6 +1252,9 @@ namespace bs.Editor
         private Rect2I GetScrollAreaBounds()
         {
             Rect2I bounds = GUI.Bounds;
+            bounds.x = 0;
+            bounds.y = 0;
+
             Rect2I folderListBounds = folderListLayout.Bounds;
             Rect2I searchBarBounds = searchBarLayout.Bounds;