mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 14:11:25 +02:00
LCL: TCanvas.RealizeAntialiasing: do not call changed
git-svn-id: trunk@25417 -
This commit is contained in:
parent
403c0fde87
commit
51906d0ce2
@ -168,14 +168,13 @@ procedure TCanvas.RealizeAntialiasing;
|
|||||||
begin
|
begin
|
||||||
if HandleAllocated then
|
if HandleAllocated then
|
||||||
begin
|
begin
|
||||||
Changing;
|
// do not call Changed, the content has not changed
|
||||||
case FAntialiasingMode of
|
case FAntialiasingMode of
|
||||||
amOn: WidgetSet.DCSetAntialiasing(FHandle, True);
|
amOn: WidgetSet.DCSetAntialiasing(FHandle, True);
|
||||||
amOff: WidgetSet.DCSetAntialiasing(FHandle, False);
|
amOff: WidgetSet.DCSetAntialiasing(FHandle, False);
|
||||||
else
|
else
|
||||||
WidgetSet.DCSetAntialiasing(FHandle, Boolean(WidgetSet.GetLCLCapability(lcAntialiasingEnabledByDefault)) )
|
WidgetSet.DCSetAntialiasing(FHandle, Boolean(WidgetSet.GetLCLCapability(lcAntialiasingEnabledByDefault)) )
|
||||||
end;
|
end;
|
||||||
Changed;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user