Timothy Jaeryang Baek 2 kuukautta sitten
vanhempi
commit
dc3abc2bcb
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      src/routes/(app)/+layout.svelte

+ 5 - 1
src/routes/(app)/+layout.svelte

@@ -171,7 +171,11 @@
 				}
 
 				// Check if Ctrl + Shift + ' is pressed
-				if (isCtrlPressed && isShiftPressed && event.key.toLowerCase() === `'`) {
+				if (
+					isCtrlPressed &&
+					isShiftPressed &&
+					(event.key.toLowerCase() === `'` || event.key.toLowerCase() === `"`)
+				) {
 					event.preventDefault();
 					console.log('temporaryChat');
 					temporaryChatEnabled.set(!$temporaryChatEnabled);