Ignore:
Timestamp:
Dec 4, 2023, 7:18:18 PM (12 months ago)
Author:
chronos
Message:
  • Fixed: More high dpi related fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/ScreenTools.pas

    r473 r474  
    17951795  end;
    17961796
    1797   LogoBuffer := TBitmap.Create;
    1798   LogoBuffer.PixelFormat := TPixelFormat.pf24bit;
    1799   LogoBuffer.SetSize(BigBook.Width, BigBook.Height);
     1797  if not Assigned(LogoBuffer) then begin
     1798    LogoBuffer := TBitmap.Create;
     1799    LogoBuffer.PixelFormat := TPixelFormat.pf24bit;
     1800    LogoBuffer.SetSize(BigBook.Width, BigBook.Height);
     1801  end;
    18001802
    18011803  LoadGraphicFile(Colors, GetGraphicsDir + DirectorySeparator + 'Colors.png');
Note: See TracChangeset for help on using the changeset viewer.