Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

hide step and more clean UI for position joints

Scott Petrovice1a8456fe254
diff --git a/src/create.html b/src/create.html
index d4f5e55..ee87f28 100644
--- a/src/create.html
+++ b/src/create.html
@@ -265,11 +265,11 @@
<hr />
<!-- controls to change transfrom mode between transform and rotation -->
- <div style="display: flex; flex-direction: row;">
+ <!-- View mode between textured mesh and weight painted mesh preview -->
+ <fieldset style="display: flex; flex-direction: row;">
+ <span>Preview</span>
- <!-- View mode between textured mesh and weight painted mesh preview -->
- <fieldset>
- <span>Preview</span>
+ <span>
<div id="mesh-preview-group" class="toggle">
<input id="preview-painted" type="radio" name="mesh-preview-type" value="weight-painted" checked="checked" />
<label for="preview-painted">
@@ -279,10 +279,12 @@
<label for="preview-textured">
<img src="images/icons/display-textured.svg" alt="Textured" width="20" height="20" title="Textured Mesh" />
</label>
-
</div>
- </fieldset>
- </div>
+ </span>
+
+
+ </fieldset>
+
@@ -297,10 +299,7 @@
<label for="independent-bone-movement">Move Bone Independently</label>
</div>
-
- <hr />
-
- <!-- Preview plane controls -->
+ <!-- Preview plane controls -->
<div id="use-head-weight-correction-container" style="display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem;">
<div class="styled-checkbox">
<input type="checkbox" id="preview-plane-checkbox" />
diff --git a/src/styles.css b/src/styles.css
index b136da4..103ae75 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -342,7 +342,9 @@ option {
border-radius: 0;
}
+/* Hide the current step for now */
#current-step-index {
+ display: none;
font-size: 15px;
background: var(--current-step-indicator);
padding: 0.5rem 1rem;