mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-26 16:27:23 +01:00
LCL: speed button: fix retina drawing. Issue #33645
git-svn-id: trunk@57697 -
This commit is contained in:
parent
49d41ac113
commit
3e5903f6fd
@ -278,7 +278,7 @@ begin
|
|||||||
if (ImgRes.Resolution=nil) or (ImgID<0) then
|
if (ImgRes.Resolution=nil) or (ImgID<0) then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
ImgRes.Resolution.Draw(Canvas,
|
ImgRes.Draw(Canvas,
|
||||||
Client.Left + Offset.X, Client.Top + Offset.y, ImgID, AEffect);
|
Client.Left + Offset.X, Client.Top + Offset.y, ImgID, AEffect);
|
||||||
|
|
||||||
// ToDo: VCL returns the text rectangle
|
// ToDo: VCL returns the text rectangle
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user