diff --git a/notes.md b/notes.md index 18a0e280..16d0d45b 100644 --- a/notes.md +++ b/notes.md @@ -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) diff --git a/src/geo/bounds.js b/src/geo/bounds.js index 5cde101a..66ca02ce 100644 --- a/src/geo/bounds.js +++ b/src/geo/bounds.js @@ -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) +