diff --git a/graflow_examples/test4.html b/graflow_examples/test4.html
index 183cb4b..e49d7c4 100644
--- a/graflow_examples/test4.html
+++ b/graflow_examples/test4.html
@@ -83,11 +83,8 @@
const el = document.querySelector('.container')
let timer = null // debounce
const ro = new ResizeObserver(([entry]) => {
- clearTimeout(timer)
- timer = setTimeout(() => {
- const grfl = entry.target.querySelector('bz-graflow')
- grfl.autofit()
- }, 200)
+ const grfl = entry.target.querySelector('bz-graflow')
+ grfl.autofit()
})
ro.observe(el)