Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Update post-download page to give instructions and hide other elements

Scott Petrovic3f468f85dc8e
diff --git a/src/lib/components/download-success/DownloadSuccessDialog.ts b/src/lib/components/download-success/DownloadSuccessDialog.ts
index 4e03b7e..06d27ef 100644
--- a/src/lib/components/download-success/DownloadSuccessDialog.ts
+++ b/src/lib/components/download-success/DownloadSuccessDialog.ts
@@ -33,8 +33,12 @@ export class DownloadSuccessDialog {
Join Discord Server
</a>
</div>
+ </div>
+ <div class="download-success-desktop">
+ <p>The animations have been saved to your Downloads folder</p>
</div>
+
<button class="download-success-dialog-close secondary-button">Close</button>
</div>
`
diff --git a/src/styles.css b/src/styles.css
index a2b5d94..38668b3 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -832,4 +832,10 @@ input[type="file"] {
background: rgb(0 0 0 / 26%);
border-radius: 4px;
padding: 6px;
+}
+
+/* custom message for our desktop application since we will
+ be hiding most of the post-download stuff */
+.download-success-desktop {
+ display: none;
}
\ No newline at end of file
diff --git a/static/desktop.css b/static/desktop.css
index 56598a0..8f8b256 100644
--- a/static/desktop.css
+++ b/static/desktop.css
@@ -11,4 +11,12 @@
a#logo-branding {
pointer-events: none;
text-decoration: none;
+}
+
+.download-success-section {
+ display: none !important;
+}
+
+.download-success-desktop {
+ display: block !important;
}
\ No newline at end of file