build: Upgrade to Vite 5 (#7784)

This commit is contained in:
Csaba Tuncsik
2023-11-23 11:55:02 +01:00
committed by GitHub
parent 77bc8ecd4b
commit e128b23a2b
32 changed files with 442 additions and 94 deletions

View File

@@ -98,8 +98,8 @@ export const useCanvasStore = defineStore('canvas', () => {
const sidebarWidth = isDemo.value
? 0
: uiStore.sidebarMenuCollapsed
? SIDEBAR_WIDTH
: SIDEBAR_WIDTH_EXPANDED;
? SIDEBAR_WIDTH
: SIDEBAR_WIDTH_EXPANDED;
const relativeX = position[0] - sidebarWidth;
const relativeY = isDemo.value