From da91f5991c2367cf868c8ac93207daeab19f1711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchrisshank=E2=80=9D?= Date: Fri, 20 Dec 2024 14:48:27 -0800 Subject: [PATCH] demo update --- lib/index.ts | 7 +++-- ...event-propagators-with-device-gravity.html | 29 +++++++++++++++---- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 7959bf4..5c1f3d9 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,3 +1,7 @@ +// Base elements and components +// Due to a circular dependency between folk element and folk observer this should be exported first +export * from './folk-element'; + // Observers (move these to the top since they're dependencies) export * from './client-rect-observer'; export * from './folk-observer'; @@ -21,9 +25,6 @@ export * from './rAF'; export * from './collision'; export * from './EffectIntegrator'; -// Base elements and components -export * from './folk-element'; - // WebGL utilities export * from './webgl'; diff --git a/website/canvas/event-propagators-with-device-gravity.html b/website/canvas/event-propagators-with-device-gravity.html index 42d83c9..e7dc5f7 100644 --- a/website/canvas/event-propagators-with-device-gravity.html +++ b/website/canvas/event-propagators-with-device-gravity.html @@ -28,7 +28,6 @@ button { margin: 1rem; background-color: black; - font-size: 2rem; border-radius: 5px; color: white; } @@ -39,6 +38,8 @@

Alpha: 0

Beta: 0

Gamma: 0

+

Gravity: 0, 3000

+ Hello World -->