Fix previousStyles being recreated for every transparent element (#1512)
This commit is contained in:
parent
4f4990820e
commit
b1f96a7ca7
@ -578,7 +578,7 @@ class DocumentUtil {
|
|||||||
startContinerPre = startContainer;
|
startContinerPre = startContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
previousStyles = new Map();
|
if (previousStyles === null) { previousStyles = new Map(); }
|
||||||
i = this._disableTransparentElement(elements, i, previousStyles);
|
i = this._disableTransparentElement(elements, i, previousStyles);
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user