Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
izure committed Jun 20, 2021
1 parent 0fd7e3d commit 5075934
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 33 deletions.
48 changes: 24 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
"main": "background.js",
"dependencies": {
"@eriengine/plugin-actor": "^1.4.0",
"@eriengine/plugin-actor": "^1.5.0",
"@eriengine/plugin-dialogue": "^1.4.3",
"@eriengine/plugin-environment": "^1.0.0",
"@eriengine/plugin-fog-of-war": "^1.3.0",
"@eriengine/plugin-fog-of-war": "^1.3.1",
"@eriengine/plugin-isometric-cursor": "^1.2.3",
"@eriengine/plugin-isometric-scene": "^1.2.4",
"@eriengine/plugin-isometric-scene": "^1.2.6",
"@eriengine/plugin-spatial-audio": "^1.0.2",
"@vue/composition-api": "^1.0.0-rc.9",
"add-filename-increment": "^1.0.0",
Expand Down Expand Up @@ -107,7 +107,12 @@
"parser": "@typescript-eslint/parser"
},
"rules": {
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"no-undef": "off"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export default class DisposePanelComponent extends Vue {
this.$store.dispatch('snackbar', '씬에서 맵 정보를 읽어올 수 없습니다.')
return
}
this.$store.dispatch('snackbar', '맵 데이터가 저장되었습니다.')
this.$emit('send-call', 'save', map)
})
}
Expand Down
2 changes: 2 additions & 0 deletions src/Renderer/components/Manager/Data/Scene/Map/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export default class ScenePaletteComponent extends Vue {
this.$store.dispatch('snackbar', '씬 저장에 실패했습니다.')
}
this.$store.dispatch('snackbar', '맵 데이터가 저장되었습니다.')
return isWriteSuccess
}
Expand Down
16 changes: 15 additions & 1 deletion src/Renderer/components/Manager/Data/Scene/Map/Scene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,27 @@ export default class SceneComponent extends Vue {
}
switch (e.code) {
// undo (ctrl + z)
case Key.CODE_Z: {
// undo (ctrl + z)
if (e.ctrlKey) {
this.mainScene.mapDataManager.undo()
}
break
}
// save (ctrl + s)
case Key.CODE_S: {
if (e.ctrlKey) {
const map = this.scene?.mapDataManager.data ?? null
if (map === null) {
this.$store.dispatch('snackbar', '씬에서 맵 정보를 읽어올 수 없습니다.')
return
}
this.$emit('send-call', 'save', map)
}
break
}
default: {
break
}
Expand Down
6 changes: 3 additions & 3 deletions src/Template/Project/PACKAGE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"phaser": "^3.55.0",
"process": "^0.11.10",
"localforage": "^1.9.0",
"@eriengine/plugin-actor": "^1.4.0",
"@eriengine/plugin-actor": "^1.5.0",
"@eriengine/plugin-dialogue": "^1.4.3",
"@eriengine/plugin-environment": "^1.0.0",
"@eriengine/plugin-fog-of-war": "^1.3.0",
"@eriengine/plugin-fog-of-war": "^1.3.1",
"@eriengine/plugin-isometric-cursor": "^1.2.3",
"@eriengine/plugin-isometric-scene": "^1.2.4",
"@eriengine/plugin-isometric-scene": "^1.2.6",
"@eriengine/plugin-spatial-audio": "^1.0.2"
},
"devDependencies": {
Expand Down

0 comments on commit 5075934

Please sign in to comment.