mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:00:16 +02:00
Optimize fixing the tab index in TCustomTabControl.TabIndexAtClientPos. Issue #21088
git-svn-id: trunk@34767 -
This commit is contained in:
parent
cec115827d
commit
7b130f07af
@ -318,7 +318,9 @@ begin
|
|||||||
Inc(VisiblePageInd)
|
Inc(VisiblePageInd)
|
||||||
else begin
|
else begin
|
||||||
if VisiblePageInd < Result then
|
if VisiblePageInd < Result then
|
||||||
Inc(Result);
|
Inc(Result)
|
||||||
|
else
|
||||||
|
Break;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user