]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
add button to rm axis
authorMarc Foley <m.foley.88@gmail.com>
Tue, 18 Feb 2025 14:24:06 +0000 (14:24 +0000)
committerMarc Foley <m.foley.88@gmail.com>
Tue, 4 Mar 2025 10:24:40 +0000 (10:24 +0000)
.ci/tags.html

index e9e1eb495338ae9568e9fc50e01b9c974af5abf8..7d9a468d6df78c215989363c3003c844a4d492e5 100644 (file)
                 <input type="number" class="grow" placeholder="400" v-model="position.score" />
               </label>
             </div>  
+              <button class="btn btn-xs join-item pr-2" @click="removeAxis(idx)">X</button>
           </div>
           
           <div style="margin-bottom: 12pt;" v-for="(axisSet, idx) in solvedAxes">
 
         <div class="divider"></div>
         <form @submit.prevent="copyFamily">
-          <div class="label lavel-xs">
+          <div class="label label-xs">
             <span class="label-text label-xs">Copy tags from a family</span>
           </div>
           <div class="join">
@@ -397,6 +398,9 @@ function axesCombos(axes) {
           }
         )
       },
+      removeAxis(idx) {
+        this.newAxes.splice(idx, 1);
+      },
       sortedCategories() {
         return Array.from(this.categories).sort();
       },