pxlsspace / pxls-web

Web client for pxls.space
MIT License
8 stars 13 forks source link

Keyboard shortcuts for colours #19

Open RaymondLWong opened 3 months ago

RaymondLWong commented 3 months ago

To make it quicker to change colours, keyboard shortcuts would be very helpful. The keys 0-9 can obviously be used for their respective colours (or maybe ` for 0?), and maybe the modifier key Shift to go "up by 10" (e.g. Shift + 1 is 11). The key combinations could probably be copied from somewhere, as I'm sure someone has solved this issue before

TheWaffleLord37 commented 3 months ago

There's a Tampermonkey script that does this https://github.com/TheWaffleLord37/Pxls-Tampermonkey-Scripts/raw/main/Pxls%20Number%20-%3E%20Color.user.js