mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 09:59:17 +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
|
||||
if HandleAllocated then
|
||||
begin
|
||||
Changing;
|
||||
// do not call Changed, the content has not changed
|
||||
case FAntialiasingMode of
|
||||
amOn: WidgetSet.DCSetAntialiasing(FHandle, True);
|
||||
amOff: WidgetSet.DCSetAntialiasing(FHandle, False);
|
||||
else
|
||||
WidgetSet.DCSetAntialiasing(FHandle, Boolean(WidgetSet.GetLCLCapability(lcAntialiasingEnabledByDefault)) )
|
||||
end;
|
||||
Changed;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user