Fix default textbox highlight now working.

This commit is contained in:
Lucas Sköld
2024-07-15 02:41:06 +02:00
parent 84525bea83
commit 241d575215
+1 -1
View File
@@ -168,7 +168,7 @@ app.registerExtension({
const shouldHighlightGradient = inputEl.highlightGradient;
const loraColor = colors ? colors[0] : undefined;
if (!colors || !errorColor || !loraColor || !shouldHighlightGradient) {
if (!colors || !errorColor || !loraColor || shouldHighlightGradient == undefined) {
setTimeout(() => syncText(inputEl, overlayEl), 5);
return;
}