mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 05:09:10 +02:00
copy transparent property when assigning bitmaps (fixes glyph property editor transparent image)
git-svn-id: trunk@7976 -
This commit is contained in:
parent
0300aa4c2e
commit
d9b8366b67
@ -57,6 +57,7 @@ begin
|
||||
// TBitmap can share image data
|
||||
// -> check if already shared
|
||||
SrcBitmap:=TBitmap(Source);
|
||||
FTransparent := SrcBitmap.Transparent;
|
||||
if SrcBitmap.FImage=FImage then exit;
|
||||
|
||||
//DebugLn('TBitMap.Assign A RefCount=',FImage.RefCount);
|
||||
|
Loading…
Reference in New Issue
Block a user