Browse Source

Only show the progress bar (songs processed message) once per session.

Halsafar 3 years ago
parent
commit
3e4fdf29cb
2 changed files with 12 additions and 3 deletions
  1. 2 2
      BeatModsReleaseTemplate.txt
  2. 10 1
      SongBrowserPlugin/SongBrowserApplication.cs

+ 2 - 2
BeatModsReleaseTemplate.txt

@@ -1,8 +1,8 @@
 SongBrowser
 
-6.0.7
+6.1.1
 
-SongCore@2.9.10,SongDataCore@1.3.4
+SongCore@3.0.0,SongDataCore@1.3.5
 
 Adds various sorting and filtering methods to the UI. Search, favorites, ranked, and unranked filters. Sort by BeatSaver and ScoreSaber statistics. Adds PP and other extra stats to the stat panel.
 

+ 10 - 1
SongBrowserPlugin/SongBrowserApplication.cs

@@ -19,6 +19,9 @@ namespace SongBrowser
 
         public static SongBrowser.UI.ProgressBar MainProgressBar;
 
+        private bool _hasShownProgressBar = false;
+
+
         public SongBrowserModel Model
         {
             get
@@ -192,7 +195,13 @@ namespace SongBrowser
         {
             Logger.Trace("HandleModeSelection()");
             _songBrowserUI.CreateUI(mode);
-            SongBrowserApplication.MainProgressBar.ShowMessage("");
+
+            if (!_hasShownProgressBar)
+            {
+                SongBrowserApplication.MainProgressBar.ShowMessage("");
+                _hasShownProgressBar = true;
+            }
+
             StartCoroutine(UpdateBrowserUI());
         }