Make Context mutation observers ignore attributes

I can't find any edge cases where this would really be useful,
and it prevents a _lot_ of false node updates
This commit is contained in:
thepaperpilot 2022-05-23 22:31:42 -05:00
parent 7398a861ed
commit 6a87e34a1d

View file

@ -46,7 +46,7 @@ function updateBounds() {
document.fonts.ready.then(updateBounds); document.fonts.ready.then(updateBounds);
const observerOptions = { const observerOptions = {
attributes: true, attributes: false,
childList: true, childList: true,
subtree: false subtree: false
}; };