fix bounds check for fingerprint compare

This commit is contained in:
Stewart Allen 2021-07-13 21:08:01 -04:00
commit a97eed694c
2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@
* `P` duplicate objects should share same slice data unless rotated or scaled
* `P` allow selection to be decimated on demand (context menu?)
* `P` improve decimation speed: omit point conversion or use wasm
* `P` explore widget vertex reloading / replacing (Onshape) (issue #48)
* `P` move all persisted / workspace settings/data to IndexedDB (LS limitations)

View file

@ -62,7 +62,7 @@
* @returns {Number} absolute delta in x,y coordinate space
*/
PRO.delta = function(bounds) {
return
return 0 +
Math.abs(this.minx - bounds.minx) +
Math.abs(this.miny - bounds.miny) +
Math.abs(this.maxx - bounds.maxx) +