Gtk3: fix fillRect() if currentBrush.style = BS_NULL.

This commit is contained in:
zeljan1 2025-01-14 14:06:19 +01:00
parent b8df3cbaa3
commit 6e2d780497

View File

@ -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);