@lvce-editor/title-bar-worker 2.22.0 → 2.24.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
|
|
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.
|
|
3
|
+
"version": "2.24.0",
|
|
4
4
|
"description": "Title Bar Worker",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,9 +9,5 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"author": "Lvce Editor",
|
|
11
11
|
"type": "module",
|
|
12
|
-
"main": "dist/titleBarWorkerMain.js"
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@lvce-editor/constants": "^1.26.0",
|
|
15
|
-
"@lvce-editor/viewlet-registry": "^1.4.0"
|
|
16
|
-
}
|
|
12
|
+
"main": "dist/titleBarWorkerMain.js"
|
|
17
13
|
}
|