Rubric #mouseDown, #mouseUp and #click
We have a few morphs where #on:#mouseDown send: aMessage to: aTarget is used where I'd expected that to be on #click. Mostly in Rubric and the Nautilus annotations If a morph is supposed to behave as a button, the action should happen on the #mouseUp, but only if the mouse pointer hasn't moved away from the morph. That is what #click does. And ExpanderTitleMorph GrowlMorph JobProgressMorph react on #mouseUp instead of #click Stephan
Does the mouseUp on JobProgressMorph work ? I always wondered how I can stop a long running task. 2015-09-02 12:25 GMT+02:00 Stephan Eggermont <stephan@stack.nl>:
We have a few morphs where #on:#mouseDown send: aMessage to: aTarget is used where I'd expected that to be on #click. Mostly in Rubric and the Nautilus annotations
If a morph is supposed to behave as a button, the action should happen on the #mouseUp, but only if the mouse pointer hasn't moved away from the morph. That is what #click does.
And ExpanderTitleMorph GrowlMorph JobProgressMorph react on #mouseUp instead of #click
Stephan
participants (2)
-
Nicolai Hess -
Stephan Eggermont