@hortonstudio/main 1.1.20 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -244,6 +244,9 @@ export async function init() {
244
244
  // Animation timeline
245
245
  document.fonts.ready.then(() => {
246
246
 
247
+ // Wait for layout to stabilize before splitting text
248
+ setTimeout(() => {
249
+
247
250
  // Split text setup (after fonts are loaded)
248
251
  headingSplits = [];
249
252
 
@@ -511,6 +514,8 @@ export async function init() {
511
514
 
512
515
  }, config.global.animationDelay * 1000);
513
516
 
517
+ }, 100); // Wait 100ms for layout to stabilize
518
+
514
519
  });
515
520
 
516
521
  // API exposure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hortonstudio/main",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {