@lvce-editor/editor-worker 18.13.0 → 18.14.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.
@@ -10826,6 +10826,7 @@ const intialize = async (syntaxHighlightingEnabled, syncIncremental) => {
10826
10826
  const kLineHeight = 'editor.lineHeight';
10827
10827
  const kFontSize = 'editor.fontSize';
10828
10828
  const kFontFamily = 'editor.fontFamily';
10829
+ const kLetterSpacing = 'editor.letterSpacing';
10829
10830
  const kTabSize = 'editor.tabSize';
10830
10831
  const kLineNumbers = 'editor.lineNumbers';
10831
10832
  const kDiagnostics = 'editor.diagnostics';
@@ -10855,9 +10856,10 @@ const getFontFamily = async () => {
10855
10856
  return (await get$1(kFontFamily)) || 'Fira Code';
10856
10857
  };
10857
10858
  const getLetterSpacing = async () => {
10858
- {
10859
- return 0;
10860
- }
10859
+ // if (!false) {
10860
+ // return 0
10861
+ // }
10862
+ return (await get$1(kLetterSpacing)) ?? 0.5;
10861
10863
  };
10862
10864
  const getTabSize = async () => {
10863
10865
  return (await get$1(kTabSize)) || 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "18.13.0",
3
+ "version": "18.14.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"