TwinedRope / TwinedRope.github.io

1 stars 0 forks source link

Re-route Keyboard Commands to Generator Actions #19

Closed JeffreyGaydos closed 2 years ago

JeffreyGaydos commented 2 years ago
JeffreyGaydos commented 2 years ago

We added some more shortcuts and modified others: Save: now Ctrl+Alt+S to avoid the common save webpage browser shrotcut ✅ Toggle Sequence Numbers: Ctrl+Alt+T ✅ Import Project: Ctrl+I

Arrows are unimeplemented and likely will be unable to be without a held Alt or something else...

✅ The only issue is that once you open default browser shortcut, anything you were holding gets "stuck" on, so just pressing 1 key will result in the action. It would appear that you cannt easily override these, otherwise I would. Regardless, this causes the necessity to reset ctrl and shift immediately after every action, but this prevents repeated actions from working (i.e. Ctrl+V+V+V+V+V+...)

JeffreyGaydos commented 2 years ago

✅ When focused on the #input box, you need to cancel all possible actions, and allow the input specific actions (Shift+Enter)

JeffreyGaydos commented 2 years ago

Implemented using a timeout, which gives me some serious inspiration to start using asynchronous calls for the rendering of things