DCS-LCSR / SignStream3

Sign language linguistics annotation software
2 stars 0 forks source link

Refactor key press listener code #560

Open gregorydimitriadis opened 1 year ago

gregorydimitriadis commented 1 year ago

I want to refactor all the code in the codebase involving how and where keypresses are handled.

For instance, in the SegmentControlPanel prev/next listener, there is a message which comes up if you attempt to go beyond the the beginning or the end - it would be nice to have this exact same code run from all the places where key listens occur.

This issue will likely crop up again due to the way the code is structured, chagning in one place will result in inconsistencies and it will be unclear where the source of it is.