Gtk3: fixed rectangle draw. Patch by Anton Kavalenka. issue #41397

This commit is contained in:
zeljan1 2025-02-07 20:42:02 +01:00
parent f14ddd7eea
commit fd83de7f2a

View File

@ -2023,7 +2023,7 @@ var
aOp: Tcairo_operator_t;
begin
cairo_set_operator(pcr, CAIRO_OPERATOR_OVER);
cairo_rectangle(pcr, x1 + PixelOffset, y1 + PixelOffset, w - PixelOffset, h - PixelOffset);
cairo_rectangle(pcr, x1 + PixelOffset, y1 + PixelOffset, w - 2*PixelOffset, h - 2*PixelOffset);
if AFill then
begin
ApplyBrush;