transparency fix for ScriptRender
This commit is contained in:
parent
b93c24b7d5
commit
10ebbe564e
@ -89,6 +89,7 @@ begin
|
||||
//cp.Height := ScriptEditor.Renderer.Height;
|
||||
//cp.pixels_per_unit := PixelsPerUnit;
|
||||
cp.AdjustScale(ScriptEditor.Renderer.Width, ScriptEditor.Renderer.Height);
|
||||
cp.Transparency := (PNGTransparency <> 0) and (UpperCase(ExtractFileExt(ScriptEditor.Renderer.FileName)) = '.PNG');
|
||||
|
||||
Renderer.OnProgress := OnProgress;
|
||||
// Renderer.Compatibility := Compatibility;
|
||||
|
Loading…
Reference in New Issue
Block a user