@lvce-editor/renderer-process 12.2.0 → 12.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1866,7 +1866,9 @@ const rememberFocus$1 = ($Viewlet, dom, eventMap, uid = 0) => {
|
|
|
1866
1866
|
if (focused) {
|
|
1867
1867
|
const $NewFocused = $New.querySelector(`[name="${focused}"]`);
|
|
1868
1868
|
if ($NewFocused) {
|
|
1869
|
-
$
|
|
1869
|
+
const $Previous = $Hidden.firstChild;
|
|
1870
|
+
$Previous.className = $NewFocused.className;
|
|
1871
|
+
$NewFocused.replaceWith($Previous);
|
|
1870
1872
|
}
|
|
1871
1873
|
}
|
|
1872
1874
|
$Hidden.remove();
|