Changeset 567 for trunk


Ignore:
Timestamp:
May 1, 2024, 8:56:34 PM (7 months ago)
Author:
chronos
Message:
  • Fixed: Init offscreen bitmap with solid black color.
File:
1 edited

Legend:

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

    r561 r567  
    493493  if (Offscreen.Width <> NewWidth) or (Offscreen.Height <> NewHeight) then begin
    494494    Offscreen.SetSize(NewWidth, NewHeight);
     495    Offscreen.Canvas.Brush.Color := clBlack;
     496    Offscreen.Canvas.Brush.Style := TBrushStyle.bsSolid;
    495497    Offscreen.Canvas.FillRect(0, 0, Offscreen.Width, OffScreen.Height);
    496498    Offscreen.Canvas.Brush.Style := TBrushStyle.bsClear;
Note: See TracChangeset for help on using the changeset viewer.