@lvce-editor/editor-worker 19.52.0 → 19.53.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.
@@ -5420,7 +5420,8 @@ const getLanguages = async (platform, assetDir) => {
5420
5420
  };
5421
5421
 
5422
5422
  const measureCharacterWidth = async (fontWeight, fontSize, fontFamily, letterSpacing) => {
5423
- return await measureTextWidth('a', fontWeight, fontSize, fontFamily, letterSpacing, false, 0);
5423
+ const width = await measureTextWidth('a', fontWeight, fontSize, fontFamily, letterSpacing, false, 0);
5424
+ return width + letterSpacing;
5424
5425
  };
5425
5426
 
5426
5427
  const normalizeLineEndings = content => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.52.0",
3
+ "version": "19.53.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"