mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Equibop Flag For WebKeybinds
This commit is contained in:
parent
6aa0b24cbc
commit
a02be6c097
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ export default definePlugin({
|
||||||
if (hasCtrl) switch (e.key) {
|
if (hasCtrl) switch (e.key) {
|
||||||
case "t":
|
case "t":
|
||||||
case "T":
|
case "T":
|
||||||
if (!IS_VESKTOP) return;
|
if (!IS_VESKTOP || !IS_EQUIBOP) return;
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
if (SelectedGuildStore.getGuildId()) NavigationRouter.transitionToGuild("@me");
|
if (SelectedGuildStore.getGuildId()) NavigationRouter.transitionToGuild("@me");
|
||||||
|
@ -49,7 +49,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "Tab":
|
case "Tab":
|
||||||
if (!IS_VESKTOP) return;
|
if (!IS_VESKTOP || !IS_EQUIBOP) return;
|
||||||
const handler = e.shiftKey ? KeyBinds.SERVER_PREV : KeyBinds.SERVER_NEXT;
|
const handler = e.shiftKey ? KeyBinds.SERVER_PREV : KeyBinds.SERVER_NEXT;
|
||||||
handler.action(e);
|
handler.action(e);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue