Skip to content

Commit 4b7bcda

Browse files
committed
Final safety check
1 parent f42f73a commit 4b7bcda

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/app/settings/SettingsMenu.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,9 @@ function updateKeys(e: KeyboardEvent) {
287287
288288
watchEffect(() => {
289289
if (isAlt.value && isShift.value) {
290-
if (keys.value.p) {
290+
if (keys.value.p && !keys.value.s) {
291291
ctx.switchView("paint");
292-
}
293-
if (keys.value.s) {
292+
} else if (keys.value.s && !keys.value.p) {
294293
ctx.switchView("store");
295294
}
296295
}

0 commit comments

Comments
 (0)