We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2356421 commit da643ffCopy full SHA for da643ff
source/HTMLSubs.pas
@@ -16683,14 +16683,19 @@ procedure TFloatingObjList.SetItem(Index: Integer; const Item: TFloatingObj);
16683
function TFloatingObjList.GetObjectAt(Posn: Integer; out Obj): Integer;
16684
var
16685
I: Integer;
16686
+ FlObj: TFloatingObj absolute Obj;
16687
begin
16688
for I := 0 to Count - 1 do
16689
16690
Result := Items[I].StartCurs - Posn;
16691
if Result >= 0 then
16692
- TFloatingObj(Obj) := Items[I];
16693
- Exit;
+ FlObj := Items[I];
16694
+ if FlObj.Display <> pdNone then
16695
+ begin
16696
+ TFloatingObj(Obj) := FlObj;
16697
+ Exit;
16698
+ end;
16699
end;
16700
16701
0 commit comments