Parcourir la source

+ Fixed cltransparant issue

michael il y a 22 ans
Parent
commit
95d9a6e16e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      fcl/image/fpimage.inc

+ 1 - 1
fcl/image/fpimage.inc

@@ -232,7 +232,7 @@ constructor TFPMemoryImage.Create (AWidth,AHeight:integer);
 begin
   inherited create (AWidth,AHeight);
   UsePalette := True;
-  Palette.Add (clTransparent);
+  Palette.Add (colTransparent);
 end;
 
 destructor TFPMemoryImage.Destroy;