fujaba / fulibFx

A framework for JavaFX applications that is designed for MVC pattern projects.
https://fujaba.github.io/fulibFx/
MIT License
2 stars 0 forks source link

Rework onKey event options #103

Closed LeStegii closed 3 months ago

LeStegii commented 3 months ago

General

Additional information

I'm not sure if this is the best solution. While it keeps backwards compatibility and doesn't break any behavior, it has the downside of not covering all situations that would be possible with e.g. an enum.

With this implementation, either all or no settings are strict. This means it is not possible to require shift not to be pressed whilst not caring if alt is pressed or not.

Addressing #101