On Tue, Nov 18, 2008 at 1:55 PM, Jonas Elfström <[EMAIL PROTECTED]> wrote:
> image "card.jpg", :click => proc {
>      if [EMAIL PROTECTED]
>        @in_click_event=true
>        card_click()
>        @in_click_event=false
>      end
>    }, :width=>320, :height=>240
>
> If this doesn't stop card_click from being called twice in case of a
> double click on the image then what does?

What about setting a @clicked state or some such, forking your :click
behavior accordingly, and resetting the state when appropriate?

-- 
Seth Thomas Rasmussen
http://greatseth.com

Reply via email to