Fix grab file shortcut

This commit is contained in:
2024-08-14 21:08:08 +02:00
parent 1382c01a14
commit 062b0df7f1
2 changed files with 2 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ onMount(() => {
gap: 5px;
}
.shortcuts > div {
flex: 0 0 12em;
flex: 0 0 10em;
display: flex;
flex-direction: column;
text-align: center;

View File

@@ -370,7 +370,7 @@ const keyboard_event = evt => {
embed_window.toggle()
break
case "g": // G to grab this file
this.grabFile()
grab_file()
break
case "q": // Q to close the window
window.close()