On Sat, Jul 05, 2008 at 09:34:21PM -0600, Timothy McDowell wrote:
> Shoes.app do
>   stack :width => 50, :height => 50 do
>     background red
>     hover do
>       clear {background blue}
>     end
>     leave do
>       clear {background red}
>     end
>   end
> end
> 
> When I run it, it stats with a little red box in the top left corner. All
> good! I then hover over it, and the entire window turns blue.

Okay, just checked in a fix.  A lot of these `hover`, `leave` and
`click` blocks were happening in the top slot rather in the slot
where the mouse event was happening.  This could affect a lot of
programs out there -- I had to alter two of the samples
(simple-accordion.rb and good-clock.rb) that had it wrong.

_why

Reply via email to