Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Apr 11, 2024
1 parent f096117 commit 1a951f7
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 236 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@vueuse/core": "^10.9.0",
"ajv": "^8.12.0",
"axios": "^1.6.8",
"baklavajs": "^2.4.3",
"baklavajs": "^2.4.4",
"chroma-js": "^2.4.2",
"codemirror": "^6.0.1",
"comlink": "^4.4.1",
Expand All @@ -38,39 +38,39 @@
"msgpackr": "^1.10.1",
"open-simplex-noise": "^2.5.0",
"pinia": "^2.1.7",
"primeicons": "^6.0.1",
"primevue": "^3.50.0",
"primeicons": "^7.0.0",
"primevue": "^3.51.0",
"splitpanes": "^3.1.5",
"three": "^0.162.0",
"three": "^0.163.0",
"uuid": "^9.0.1",
"vue": "^3.4.21",
"vue-codemirror": "^6.1.1",
"vue-router": "4.3.0"
},
"devDependencies": {
"@types/chroma-js": "^2.4.4",
"@types/node": "20.11.30",
"@types/node": "20.12.7",
"@types/offscreencanvas": "^2019.7.3",
"@types/three": "^0.162.0",
"@types/three": "^0.163.0",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.19",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^29.1.5",
"electron": "^29.3.0",
"electron-builder": "^24.13.3",
"electron-devtools-installer": "^3.2.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"eslint-plugin-vue": "^9.24.1",
"postcss": "^8.4.38",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.72.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3",
"vite": "^5.2.4",
"vue-tsc": "^2.0.7",
"sass": "^1.75.0",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^5.2.8",
"vue-tsc": "^2.0.12",
"wait-on": "^7.2.0"
},
"build": {
Expand Down
6 changes: 5 additions & 1 deletion src/graph/graphTemplateSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ export function useGraphTemplateSync() {
for (const target of targets) {
const targetTemplate = target.graphTemplates.find((t) => t.id === template.id);
if (targetTemplate) {
targetTemplate.update(template);
targetTemplate.update({
...template,
panning: template.panning ?? { x: 0, y: 0 },
scaling: template.scaling ?? 1,
});
targetTemplate.name = template.name;
} else {
const newTemplate = new GraphTemplate(template, target);
Expand Down
Loading

0 comments on commit 1a951f7

Please sign in to comment.