pure-canvas
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -21,6 +21,6 @@ "use strict"; | ||
return { | ||
minX: Math.min(minX, clipMinX), | ||
minY: Math.min(minY, clipMinY), | ||
maxX: Math.max(maxX, clipMaxX), | ||
maxY: Math.max(maxY, clipMaxY) | ||
minX: Math.max(minX, clipMinX), | ||
minY: Math.max(minY, clipMinY), | ||
maxX: Math.min(maxX, clipMaxX), | ||
maxY: Math.min(maxY, clipMaxY) | ||
}; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "pure-canvas", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "TODO", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -21,6 +21,6 @@ import {Bounds} from './Node'; | ||
return { | ||
minX: Math.min(minX, clipMinX), | ||
minY: Math.min(minY, clipMinY), | ||
maxX: Math.max(maxX, clipMaxX), | ||
maxY: Math.max(maxY, clipMaxY) | ||
minX: Math.max(minX, clipMinX), | ||
minY: Math.max(minY, clipMinY), | ||
maxX: Math.min(maxX, clipMaxX), | ||
maxY: Math.min(maxY, clipMaxY) | ||
}; | ||
@@ -27,0 +27,0 @@ } else { |
Sorry, the diff of this file is not supported yet
199141