@lvce-editor/renderer-process 12.3.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
- $NewFocused.replaceWith($Hidden.firstChild);
1869
+ const $Previous = $Hidden.firstChild;
1870
+ $Previous.className = $NewFocused.className;
1871
+ $NewFocused.replaceWith($Previous);
1870
1872
  }
1871
1873
  }
1872
1874
  $Hidden.remove();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lvce-editor",