mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 10:09:14 +02:00
TAChart: Fix logical error in previous commit
git-svn-id: branches/fixes_2_0@60201 -
This commit is contained in:
parent
250a385e08
commit
a6635fbe9b
@ -1427,7 +1427,7 @@ begin
|
|||||||
lmpNegative: isNeg := true;
|
lmpNegative: isNeg := true;
|
||||||
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
|
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
|
||||||
end;
|
end;
|
||||||
if isRotated and (ParentChart.IsRightToLeft xor GetAxisY.Inverted) then
|
if (isRotated and ParentChart.IsRightToLeft) xor GetAxisY.Inverted then
|
||||||
isNeg := not isNeg;
|
isNeg := not isNeg;
|
||||||
Result := DIR[IsRotated, isNeg];
|
Result := DIR[IsRotated, isNeg];
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user