Geoxor / Amethyst

A cross-platform music player made with Typescript
https://amethyst-geoxor.vercel.app/
MIT License
160 stars 36 forks source link

Add the Command + , (comma) shortcut to open settings, common on Macs, enhancement #328 #562

Closed okawaffles closed 1 year ago

okawaffles commented 1 year ago

Uses useKeyModifier("Meta") to detect the Command key (https://vuejs.org/guide/essentials/event-handling.html#key-modifiers) Windows + , doesn't seem to respond, but that's likely due to the preexisting Windows shortcut.

Geoxor commented 1 year ago

we should combine command + control as one, that's why it doesn't work on windows, command =/= control

okawaffles commented 1 year ago

According to the Vue docs, "Meta" should respond to the Windows key on Windows devices, so that's why I tested it.