scijava / ui-behaviour

Configurable input handling, via mapped behaviours
Other
4 stars 2 forks source link

Behaviours that implement multiple interfaces (ClickBehaviour, ScrollBehaviour,...) do not work #6

Open skalarproduktraum opened 8 years ago

skalarproduktraum commented 8 years ago

If a behaviours implements multiple interfaces (ClickBehaviour, ScrollBehaviour,...), only the first one is picked up.

Additionally, if you adjust the else if, it semi-works, but key bindings for the second interface are not detected unless the Behaviour is added to the BehaviourMap under a different name.