mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 15:39:20 +02:00
TAChart: Fix font scaling of CanvasDrawer.
git-svn-id: trunk@60310 -
This commit is contained in:
parent
7787d285fd
commit
790027cd13
@ -377,7 +377,9 @@ begin
|
|||||||
if FMonochromeColor <> clTAColor then
|
if FMonochromeColor <> clTAColor then
|
||||||
Color := FMonochromeColor;
|
Color := FMonochromeColor;
|
||||||
if scaleFont in FScaleItems then
|
if scaleFont in FScaleItems then
|
||||||
Size := Scale(IfThen(Size = 0, DEFAULT_FONT_SIZE, Size));
|
Size := Scale(GetFontSize)
|
||||||
|
else
|
||||||
|
Size := GetFontSize;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user