copy transparent property when assigning bitmaps (fixes glyph property editor transparent image)

git-svn-id: trunk@7976 -
This commit is contained in:
micha 2005-10-21 17:38:01 +00:00
parent 0300aa4c2e
commit d9b8366b67

View File

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