From 79dd783bf790420b54a8f40590f881bf6f776d94 Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Sun, 1 Sep 2024 11:36:08 +1000 Subject: [PATCH] added ability to save hotkey into settings --- pages/keybind.vue | 100 ++++++++++++++++++++++++++-------- src-tauri/src/api/database.rs | 98 ++++++++++++++++++++++++++++++--- src-tauri/src/api/hotkeys.rs | 13 ----- src-tauri/src/main.rs | 8 +-- 4 files changed, 171 insertions(+), 48 deletions(-) diff --git a/pages/keybind.vue b/pages/keybind.vue index d9fef25..2fbc866 100644 --- a/pages/keybind.vue +++ b/pages/keybind.vue @@ -2,13 +2,7 @@

Set New Keybind

-
+
{{ currentKeybind || 'Click here, then press your desired key combination' }}
@@ -17,35 +11,93 @@