@@ -5294,7 +5294,11 @@ SKIF_UI_Tab_DrawLibrary (void)
5294
5294
PLOG_VERBOSE << " Selected app ID " << app.second .id << " from platform ID " << (int )app.second .store << " ." ;
5295
5295
selection.appid = app.second .id ;
5296
5296
selection.store = app.second .store ;
5297
- selection.category = app.second .skif .category ;
5297
+ selection.category = (app.second .skif .pinned > 50 )
5298
+ ? " Favorites (pinned)" // Workaround to not expand Favorites tab on launch
5299
+ : (app.second .skif .pinned > 0 || (app.second .skif .pinned == -1 && app.second .steam .shared .favorite == 1 ))
5300
+ ? " Favorites"
5301
+ : app.second .skif .category ;
5298
5302
search_selection.id = selection.appid ;
5299
5303
search_selection.store = selection.store ;
5300
5304
update = true ;
@@ -6058,13 +6062,16 @@ SKIF_UI_Tab_DrawLibrary (void)
6058
6062
pinned_top++;
6059
6063
else if (pinned_top > 0 )
6060
6064
{
6061
- ImGui::SetCursorPosY (
6062
- ImGui::GetCursorPosY ( )
6063
- - (fOffset / 2 .0f )
6064
- - 2 .0f * SKIF_ImGui_GlobalDPIScale
6065
- );
6065
+ if (! _registry.bUIBorders )
6066
+ {
6067
+ ImGui::SetCursorPosY (
6068
+ ImGui::GetCursorPosY ( )
6069
+ // - (fOffset / 2.0f)
6070
+ - 1 .0f * SKIF_ImGui_GlobalDPIScale
6071
+ );
6066
6072
6067
- ImGui::Separator ( );
6073
+ ImGui::Separator ( );
6074
+ }
6068
6075
6069
6076
ImGui::EndChild ( );
6070
6077
@@ -6251,7 +6258,11 @@ SKIF_UI_Tab_DrawLibrary (void)
6251
6258
6252
6259
selection.appid = app.second .id ;
6253
6260
selection.store = app.second .store ;
6254
- selection.category = app.second .skif .category ;
6261
+ selection.category = (app.second .skif .pinned > 50 )
6262
+ ? " Favorites (pinned)" // Workaround to not expand Favorites tab on launch
6263
+ : (app.second .skif .pinned > 0 || (app.second .skif .pinned == -1 && app.second .steam .shared .favorite == 1 ))
6264
+ ? " Favorites"
6265
+ : app.second .skif .category ;
6255
6266
selected = true ;
6256
6267
6257
6268
// Only update the last selected value if we're not in hidden view
0 commit comments