1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2026-06-13 16:05:40 +02:00

Fixed backwards compatibility issue
Make / build (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Salvador Díaz Fau
2026-06-09 13:41:06 +02:00
parent 245c7f40ab
commit ba5d7a4a4d
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -161,7 +161,7 @@ type
property RotationCenter;
property Scale;
{$ENDIF}
{$IFDEF DELPHI18_UP}
{$IFDEF DELPHI20_UP}
property TabStop;
{$ENDIF}
{$IFDEF DELPHI21_UP}
@@ -506,18 +506,18 @@ begin
end;
function TFMXBufferPanel.UpdateBufferDimensions(aWidth, aHeight : integer) : boolean;
{$IFDEF DELPHI18_UP}
{$IFDEF DELPHI20_UP}
var
TempScale : single;
{$ENDIF}
begin
Result := False;
{$IFDEF DELPHI18_UP}
{$IFDEF DELPHI20_UP}
TempScale := ScreenScale;
{$ENDIF}
if ((FBuffer = nil) or
{$IFDEF DELPHI18_UP}
{$IFDEF DELPHI20_UP}
(FBuffer.BitmapScale <> TempScale) or
{$ENDIF}
(FBuffer.Width <> aWidth) or
@@ -526,7 +526,7 @@ begin
if (FBuffer <> nil) then FreeAndNil(FBuffer);
FBuffer := TBitmap.Create(aWidth, aHeight);
{$IFDEF DELPHI18_UP}
{$IFDEF DELPHI20_UP}
FBuffer.BitmapScale := TempScale;
FScanlineSize := FBuffer.BytesPerLine;
{$ELSE}
+1 -1
View File
@@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 874,
"InternalVersion" : 875,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "148.0.10"
}