Import a 3D Model and automatically assign and export animations
TypeScript
Try to add a positioning hack to fix iPad
Scott Petrovicb04ee333b18b
diff --git a/src/retarget/retarget.css b/src/retarget/retarget.cssindex c48b2f1..291002f 100644--- a/src/retarget/retarget.css+++ b/src/retarget/retarget.css@@ -25,6 +25,7 @@ h1 {#source-bones-list, #target-bones-list {height: calc(100vh - 490px); /* Hard-code the height to keep the UI consistent when filtering the lists */+ height: calc(100dvh - 490px); /* dvh accounts for iPad/iOS browser toolbars; 100vh line above is the fallback */overflow-y: auto;background-color: var(--bg-alternate);border-radius: 0.25rem;@@ -116,11 +117,13 @@ h1 {#animations-items {max-height: calc(100vh - 17rem);+ max-height: calc(100dvh - 17rem); /* dvh accounts for iPad/iOS browser toolbars; 100vh line above is the fallback */}#animations-listing.has-arm-extension #animations-items {/* reserve room for the arm extension controls so the download row stays on screen */max-height: calc(100vh - 25rem);+ max-height: calc(100dvh - 25rem); /* dvh accounts for iPad/iOS browser toolbars; 100vh line above is the fallback */}#auto-bone-map-match {diff --git a/src/styles.css b/src/styles.cssindex 917ce24..8f204d3 100644--- a/src/styles.css+++ b/src/styles.css@@ -556,6 +556,7 @@ option {#animations-items{max-height: calc(100vh - 22rem);+ max-height: calc(100dvh - 22rem); /* dvh accounts for iPad/iOS browser toolbars; 100vh line above is the fallback */display: inline-flex;overflow: auto;;flex-direction: row;@@ -571,6 +572,7 @@ option {#animations-items.create-page {/* create page has a tile at the top so we need this listing grid slightly smaller */max-height: calc(100vh - 30rem);+ max-height: calc(100dvh - 30rem); /* dvh accounts for iPad/iOS browser toolbars; 100vh line above is the fallback */}#animations-items div {