diff --git a/Test/test.html b/Test/test.html
index 4520f23..42afb7b 100644
--- a/Test/test.html
+++ b/Test/test.html
@@ -2,7 +2,7 @@
Quill
-
+
diff --git a/_/Quill.png b/_/Quill.png
new file mode 100644
index 0000000..4f828a6
Binary files /dev/null and b/_/Quill.png differ
diff --git a/index.js b/index.js
index 0f9c48c..d7d0df0 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,8 @@
/*
Sam Russell
Captured Sun
- 12.26.25 - State for arrays, nested objects. State for stacks (Shadow-only)
+ 12.26.25 - Fixing stack state problem
+ 12.25.25 - State for arrays, nested objects. State for stacks (Shadow-only)
12.17.25 - [Hyperia] - adding width, height functions. adding "e" to onClick. adding the non-window $$ funcs.
12.16.25 - [comalyr] - State
11.25.25.1 - Added minHeight and minWidth to be counted as numerical styles
@@ -203,6 +204,13 @@ window.quill = {
quill.rendering.pop()
},
+ rerenderStackContents: (el, cb) => {
+ el.innerHTML = ""
+ quill.rendering.push(el)
+ cb()
+ quill.rendering.pop()
+ },
+
isStack: (el) => {
return el.classList.contains("HStack") || el.classList.contains("ZStack") || el.classList.contains("VStack")
},
@@ -831,10 +839,7 @@ handleStack = function(cb, name, styles="") {
quill.lastState = null
cb()
if(quill.lastState) {
- nowRendering.addStateWatcher(quill.lastState, () => {
- nowRendering.innerHTML = ""
- cb()
- })
+ nowRendering.addStateWatcher(quill.lastState, quill.rerenderStackContents.bind(nowRendering, nowRendering, cb))
}
return nowRendering
} else {