From 9feca14de07458c4458811135994e8a68929ee0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchrisshank=E2=80=9D?= Date: Sun, 18 Aug 2024 16:40:30 -0700 Subject: [PATCH] resize element --- demo/collision.html | 22 +++++--- demo/shapes.html | 6 +- src/elements/spatial-geometry.ts | 96 +++++++++++++++++++++++++++++--- 3 files changed, 105 insertions(+), 19 deletions(-) diff --git a/demo/collision.html b/demo/collision.html index 3e1c62c..005aad5 100644 --- a/demo/collision.html +++ b/demo/collision.html @@ -20,15 +20,13 @@ } spatial-geometry { - width: 50px; - height: 50px; border: 2px solid black; } - Shape with some text - Shape with some text + Shape with some text + Shape with some text diff --git a/demo/shapes.html b/demo/shapes.html index 84c1c73..5aa092e 100644 --- a/demo/shapes.html +++ b/demo/shapes.html @@ -16,14 +16,14 @@ } spatial-geometry { - width: 50px; - height: 50px; background: rgb(187, 178, 178); } - Shape with some text + + + Shape with some text