Open PriceChild opened 7 years ago
Looking at the code... guessing I'd just need to identify the keycode, add a new 'altPressed' variable set/unset by the existing listeners & then add checks in the same places as e.g. ctrlPressed. Simple?
https://github.com/Trimps/Trimps.github.io/blob/master/main.js#L10406-L10466
Or it would be neater to just treat it like ctrl? Is there a reason that isn't already the case? Future plans for it etc.
When you realise you've written a patch for something but forgot to submit a PR... https://github.com/VB-is-Terrible/Trimps.github.io/blob/commented/main.js#L10530-L10534
On Firefox/Linux, alt+$num changes to the tab of that number.
It also adjusts the formation your trimps are using.
ctrl+$num doesn't adjust the formation.
It would be great if alt didn't either.