CADability icon indicating copy to clipboard operation
CADability copied to clipboard

MultipleChoiceInput & mouse move events

Open davidebazzi opened this issue 10 months ago • 2 comments

If an action as a GeoObjectInput and a MultipleChoiceInput, when the GeoObjectInput is selected it reacts to the mouse move events. If the user selects the MultipleChoiceInput, that can't reacts to the mouse move events, the mouse move events are still handled by the GeoObjectInput. I find this behaviour wrong. For me the mouse move events must only be handled by the selected input.

davidebazzi avatar Mar 17 '25 13:03 davidebazzi

My proposal is to handle the PropertyEntryChangedStateEvent like other Inputs, for example DoubleInput. Doing so the variable of the ConstructAction private int currentInputIndex; // dieser Input wird gerade von der Maus bearbeitet It will be updated and the mouse move events send to the MultipleChoiceInput but ignored.

davidebazzi avatar Mar 17 '25 13:03 davidebazzi

@SOFAgh what do you think?

davidebazzi avatar Mar 17 '25 13:03 davidebazzi