Ignore:
Timestamp:
Sep 13, 2024, 8:37:17 PM (6 days ago)
Author:
chronos
Message:
  • Fixed: Scrollbars behave differently on Linux and Windows. Use conditional code to make it work correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/PVSB.pas

    r611 r612  
    5555  Self.Max := Max;
    5656  ScrollBar.Position := 0;
     57  {$IFDEF UNIX}
    5758  ScrollBar.Visible := Max > ScrollBar.PageSize;
     59  {$ELSE}
     60  ScrollBar.Visible := Max >= ScrollBar.PageSize;
     61  {$ENDIF}
    5862end;
    5963
Note: See TracChangeset for help on using the changeset viewer.