mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
Gtk3: fixed range error when assigning brush color in device context.
This commit is contained in:
parent
7613e28ec0
commit
7f92b9f77a
@ -1513,9 +1513,9 @@ begin
|
||||
if Assigned(FBgBrush) then
|
||||
FBgBrush.Free;
|
||||
FBgBrush := TGtk3Brush.Create;
|
||||
FBgBrush.Style := BS_SOLID;
|
||||
FBgBrush.Color := ColorToRGB(FBkColor);
|
||||
FBgBrush.Context := Self;
|
||||
FBgBrush.Style := BS_SOLID;
|
||||
FBgBrush.Color := ColorToRGB(LongInt(FBkColor));
|
||||
end;
|
||||
|
||||
procedure TGtk3DeviceContext.SetFont(AValue: TGtk3Font);
|
||||
|
Loading…
Reference in New Issue
Block a user