TAChart: Fix logical error in previous commit

git-svn-id: trunk@60128 -
This commit is contained in:
wp 2019-01-20 23:20:28 +00:00
parent bd9458ebd9
commit 12278e7ef4

View File

@ -1427,7 +1427,7 @@ begin
lmpNegative: isNeg := true;
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
end;
if isRotated and (ParentChart.IsRightToLeft xor GetAxisY.Inverted) then
if (isRotated and ParentChart.IsRightToLeft) xor GetAxisY.Inverted then
isNeg := not isNeg;
Result := DIR[IsRotated, isNeg];
end;