Skip to content

Commit

Permalink
https://github.com/MagicFoundation/Alcinoe/issues/313
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Dec 14, 2023
1 parent ab0d82e commit 35ea8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Alcinoe.FMX.Layouts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function TALScrollBoxContent.IsVisibleObject(const AObject: TControl): Boolean;
if AObject.Visible then begin
Result := (AObject.Position.Y < -Position.Y + FscrollBox.Height) and
(AObject.Position.Y + AObject.Height > -Position.Y) and
(AObject.Position.X < Position.X + FscrollBox.Width) and
(AObject.Position.X < -Position.X + FscrollBox.Width) and
(AObject.Position.X + AObject.Width > Position.X);
end
else
Expand Down

0 comments on commit 35ea8fb

Please sign in to comment.