Ver código fonte

* fix for mantis 38889, swap bottom and rect in pointinside

git-svn-id: trunk@49373 -
marco 4 anos atrás
pai
commit
a714cfafb8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/fcl-image/src/clipping.pp

+ 1 - 1
packages/fcl-image/src/clipping.pp

@@ -57,7 +57,7 @@ begin
   SortRect (bounds);
   with Bounds do
     result := (x >= left) and (x <= right) and
-              (y >= bottom) and (y <= top);
+              (y >= top) and (y <= bottom);
 end;
 
 Function CheckRectClipping (ClipRect:TRect; var Rect:Trect) : Boolean;