mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 19:40:20 +02:00
Cocoa: Exlude clDefault from background painting
git-svn-id: trunk@43853 -
This commit is contained in:
parent
ebcb804bf1
commit
9643a777c7
@ -886,7 +886,7 @@ begin
|
||||
try
|
||||
if FContext.InitDraw(Round(bounds.size.width), Round(bounds.size.height)) then
|
||||
begin
|
||||
if FIsOpaque then
|
||||
if FIsOpaque and (Target.Color<>clDefault) then
|
||||
begin
|
||||
FContext.BkMode:=OPAQUE;
|
||||
FContext.BkColor:=Target.Color;
|
||||
|
Loading…
Reference in New Issue
Block a user