Merge 21372f6a58b13a4e3714da1f931cb0f1c7a66b40 into 4aca13e77aa2f2c4b5a133aa43fe27bbdf86ad21

This commit is contained in:
Matt Lawrence 2025-11-29 12:14:38 -06:00 committed by GitHub
commit 0dc8bffc93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -318,7 +318,8 @@ class TextLayerBuilder {
const parentTextLayer = anchor.parentElement?.closest(".textLayer");
const endDiv = this.#textLayers.get(parentTextLayer);
if (endDiv) {
const anchorHighlighted = anchor.classList?.contains("highlight");
if (endDiv && !anchorHighlighted) {
endDiv.style.width = parentTextLayer.style.width;
endDiv.style.height = parentTextLayer.style.height;
anchor.parentElement.insertBefore(