From 5d1a05783aa5cd30c3453401d39d84eddcaa49ab Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Tue, 18 Feb 2025 13:47:42 +0000 Subject: [PATCH] skip solve step --- .ci/tags.html | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.ci/tags.html b/.ci/tags.html index e03f22b48..6bb4db379 100644 --- a/.ci/tags.html +++ b/.ci/tags.html @@ -55,7 +55,7 @@
  • - +
  • @@ -104,9 +104,6 @@ -
    - -
    @@ -124,10 +121,8 @@
    - - -
    +
    @@ -403,9 +398,6 @@ function axesCombos(axes) { } ) }, - solveAxes() { - this.solvedAxes = axesCombos(this.newAxes); - }, sortedCategories() { return Array.from(this.categories).sort(); }, @@ -483,13 +475,13 @@ function axesCombos(axes) { AddFamily() { this.isEdited = true; const fonts = document.getElementById("fonts") - if (this.solvedAxes.length > 0) { - this.solvedAxes.forEach((ax) => { + if (this.newAxes.length > 0) { + const solved = axesCombos(this.newAxes); + solved.forEach((ax) => { let name = `${this.newFamily}:"${ax.axes.map((a) => a.tag).join(",")}@${ax.axes.map((a) => a.coords).join(",")}"`; let newFamily = new FontTag(name, this.currentCategory, ax.score) this.tags.push(newFamily); }) - // Remove all axis inputs for the next family this.newAxes = []; } else { let newFamily = new FontTag(this.newFamily, this.currentCategory, axes=this.newAxes, score=this.newWeight); -- 2.47.3