track widget indexing to timeline selection

This commit is contained in:
Stewart Allen 2022-10-31 12:14:28 -04:00
commit b5f756acf6
7 changed files with 51 additions and 15 deletions

View file

@ -9,7 +9,7 @@
gapp.register("geo.paths", [], (root, exports) => {
const { base } = root;
const { util, config, newPoint } = base;
const { util, config } = base;
const { sqr, numOrDefault } = util;
const DEG2RAD = Math.PI / 180;

View file

@ -80,7 +80,11 @@ class Point {
}
clone() {
return newPoint(this.x, this.y, this.z, this._key);
let p = newPoint(this.x, this.y, this.z, this._key);
if (this.a) {
p.a = this.a;
}
return p;
}
slopeTo(p) {