@lvce-editor/title-bar-worker 2.22.0 → 2.23.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.
@@ -3470,10 +3470,9 @@ const getTitleBarMenuBarWidth = (width, menuBarX, titleBarButtonsWidth) => {
3470
3470
  };
3471
3471
  const resize = async (state, dimensions) => {
3472
3472
  const {
3473
- titleBarIconWidth,
3474
3473
  titleBarButtonsWidth
3475
3474
  } = state;
3476
- const menuBarX = dimensions.x + titleBarIconWidth;
3475
+ const menuBarX = dimensions.x;
3477
3476
  const menuBarY = dimensions.y;
3478
3477
  const menuBarWidth = getTitleBarMenuBarWidth(dimensions.width, menuBarX, titleBarButtonsWidth);
3479
3478
  const menuBarHeight = dimensions.height;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/title-bar-worker",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "Title Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",