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:
parent
7398a861ed
commit
6a87e34a1d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue