TAChart: Fix logical error in previous commit

git-svn-id: branches/fixes_2_0@60201 -
This commit is contained in:
mattias 2019-01-24 09:50:51 +00:00
parent 250a385e08
commit a6635fbe9b

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;