@lvce-editor/renderer-process 30.61.0 → 30.62.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.
@@ -4775,6 +4775,10 @@ const setThemeColor = color => {
4775
4775
  meta.content = color;
4776
4776
  };
4777
4777
 
4778
+ const setModernUi = enabled => {
4779
+ document.body.classList.toggle('ModernUi', enabled);
4780
+ };
4781
+
4778
4782
  const Alert = 'alert';
4779
4783
  const Application = 'application';
4780
4784
  const Complementary = 'complementary';
@@ -11525,7 +11529,8 @@ const commandMap = {
11525
11529
  'Window.revealBrowserTab': revealBrowserTab,
11526
11530
  'Window.toggleFullScreen': toggleFullScreen,
11527
11531
  'Window.unmaximize': unmaximize,
11528
- 'WindowTitle.set': set$1
11532
+ 'WindowTitle.set': set$1,
11533
+ 'Workbench.setModernUi': setModernUi
11529
11534
  };
11530
11535
 
11531
11536
  const RE_AT = /^\s+at/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.61.0",
3
+ "version": "30.62.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"