From 8c71dbb14bff7c1a3dc432a0ba4ae44f7b1dbbf0 Mon Sep 17 00:00:00 2001 From: Lucas Dower Date: Tue, 5 Oct 2021 00:32:03 +0100 Subject: [PATCH] Glass redesign --- index.html | 124 ++++++++----------- package.json | 2 +- src/app_context.ts | 171 ++++++++----------------- src/client.ts | 48 +++---- src/main.ts | 6 +- src/schematic.ts | 50 ++++++-- src/ui/modal.ts | 26 ++++ src/ui/toast.ts | 36 ++++++ src/voxel_manager.ts | 22 +++- styles.css | 289 ++++++++++++++++++++++++++++--------------- tsconfig.json | 2 +- 11 files changed, 444 insertions(+), 332 deletions(-) create mode 100644 src/ui/modal.ts create mode 100644 src/ui/toast.ts diff --git a/index.html b/index.html index 88950bb..8f3ea80 100644 --- a/index.html +++ b/index.html @@ -5,92 +5,70 @@ ObjToSchematic - - - - - -
-
- -
-
- - Choose file - +
+ +
+
+
+
+ + +
-
- -
-
- - Voxel size - - +
+
+
Voxel size
+ + + +
-
- -
- -
-
-
- -
-
Model loaded successfully
-
- - - - -