Bläddra i källkod

Fixed up folder button placement.
Updated screenshot.
Updated README.

Stephen Damm 6 år sedan
förälder
incheckning
7ae1f36712
3 ändrade filer med 11 tillägg och 15 borttagningar
  1. 9 13
      README.md
  2. BIN
      Screenshot.png
  3. 2 2
      SongBrowserPlugin/UI/SongBrowserUI.cs

+ 9 - 13
README.md

@@ -8,29 +8,25 @@ A plugin for customizing the in-game song browser.
 ![Alt text](/Screenshot.png?raw=true "Screenshot")
 
 ## Features
-- Playlist!
+- Playlist support:
   - BeatDrop playlists!
-  - Search: BeatSaber_InstallationFolder/Playlists
-  - Search: BeatDrop Playlist Folder
-- Folders!  Organize your songs into folders.
-- Marking a song as favorite!
-- Currently supports these sorting methods:
-  - Favorite: Anything marked favorite followed by the Default method.
+- Filters:
+  - Playlist (with a playlist selector).
+  - Search (with keyboard support).
+  - Favorites (all songs you have marked as a favorite).
+- Optional folder support:
+  - Disabled by default.  See the settings file.
+- Sorting methods:
   - Song: By song name (default).
   - Author: By song author name then by song name.  
   - Original: Match the original sorting you would normally get after SongLoaderPlugin.
   - Newest: Sort songs by their last write time.
   - PlayCount: Sort by playcount (sum of play counts across all difficulties for a given song).
   - Random: Randomize the song list each time.
-  - Search: Enter a search term.
-- Clicking a sorting method will resort the song list immediately.
 - Sort buttons can be pressed a second time to invert the sorting.
 - Fast scroll buttons (jumps 10% of your song list in each press).
 
 ## Status
-- Working!
+- Working with BeatSaber 0.11.1
 
-### Known Issues
-- Might be some issues with game modes other than SoloStandard.
-- Some issues might occur if a new song is added in-game.
 

BIN
Screenshot.png


+ 2 - 2
SongBrowserPlugin/UI/SongBrowserUI.cs

@@ -167,7 +167,7 @@ namespace SongBrowserPlugin.UI
                 float buttonWidth = 13.50f;
                 float buttonHeight = 5.5f;
                 float buttonX = -61;
-                float buttonY = 74.5f;
+                float buttonY = 74.0f;
 
                 string[] sortButtonNames = new string[]
                 {
@@ -290,7 +290,7 @@ namespace SongBrowserPlugin.UI
 
                     // Create up folder button
                     _upFolderButton = UIBuilder.CreateIconButton(sortButtonTransform, sortButtonTemplate, arrowIcon,
-                        new Vector2(filterButtonX + iconButtonSize.x, buttonY),
+                        new Vector2(filterButtonX + (iconButtonSize.x* filterButtonSetup.Count), buttonY),
                         new Vector2(iconButtonSize.x, iconButtonSize.y),
                         new Vector2(0f, 0f),
                         new Vector2(0.85f, 0.85f),