mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
Gtk3: fix fillRect() if currentBrush.style = BS_NULL.
This commit is contained in:
parent
b8df3cbaa3
commit
6e2d780497
@ -2313,7 +2313,8 @@ begin
|
||||
|
||||
applyBrush;
|
||||
cairo_rectangle(pcr, x + PixelOffset, y + PixelOffset, w - 1, h - 1);
|
||||
cairo_fill_preserve(pcr);
|
||||
if CurrentBrush.Style <> BS_NULL then
|
||||
cairo_fill_preserve(pcr);
|
||||
|
||||
// must paint border, filling is not enough
|
||||
SetSourceColor(FCurrentBrush.Color);
|
||||
|
Loading…
Reference in New Issue
Block a user