[Q] doubleclickable and dragable morph: how?
Ned Konz
ned at bike-nomad.com
Fri May 2 05:23:29 UTC 2003
On Thursday 01 May 2003 07:18 pm, tblanchard at mac.com wrote:
> Try double clicking on it - the color picker often never appears,
> or when it does it opens and closes immediately. I think its
> pulling a mouse event it shouldn't get but I'm not having any luck
> tracking it down.
The problem is this:
Your #doubleClick is called on the second mouseDown transition. You
then open the ColorPicker morph, which sets mouse focus to itself.
Then the mouse goes up, dismissing the ColorPicker.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|