Răsfoiți Sursa

--- Merging r49373 into '.':
U packages/fcl-image/src/clipping.pp
--- Recording mergeinfo for merge of r49373 into '.':
U .

# revisions: 49373
r49373 | marco | 2021-05-15 22:45:48 +0200 (Sat, 15 May 2021) | 1 line
Changed paths:
M /trunk/packages/fcl-image/src/clipping.pp

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

git-svn-id: branches/fixes_3_2@49611 -

marco 4 ani în urmă
părinte
comite
4facfeabc9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;