Browse Source

make intersectRects public

Adam Shaw 10 years ago
parent
commit
7a86254435
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/util.js

+ 1 - 0
src/util.js

@@ -298,6 +298,7 @@ function isPrimaryMouseButton(ev) {
 /* Geometry
 ----------------------------------------------------------------------------------------------------------------------*/
 
+fc.intersectRects = intersectRects;
 
 // Returns a new rectangle that is the intersection of the two rectangles. If they don't intersect, returns false
 function intersectRects(rect1, rect2) {