Skip to content

Commit

Permalink
Library: Fixed a few resizing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemony committed May 13, 2024
1 parent 9fa1a14 commit 1257531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tabs/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5865,8 +5865,8 @@ SKIF_UI_Tab_DrawLibrary (void)
: (tab_ContentRegionAvail.y >= horizon_cutoff_height); // When in regular mode

uiCoverVisible = (_registry._LibHorizonMode)
? (tab_ContentRegionAvail.x > (sizeList.x + sizeDetails.x + 220.f * 0.75f * SKIF_ImGui_GlobalDPIScale)) // Large enough to allow 75% of the tiny cover to appear
: (uiDetailsVisible) ? (tab_ContentRegionAvail.x > sizeImage.x) : false; // When in regular mode
? (tab_ContentRegionAvail.x > (sizeList.x + sizeDetails.x + sizeSK_small.x * 0.75f)) // When in horizontal mode, large enough to allow 75% of the tiny cover to appear
: (uiDetailsVisible) ? (tab_ContentRegionAvail.x > ( sizeDetails.x + sizeSK.x * 0.75f)) : false; // When in regular mode, large enough to allow 75% of the large cover to appear

if (! uiCoverVisible)
{
Expand Down

0 comments on commit 1257531

Please sign in to comment.