Yes, a bug in Shape.hide.  Also, the fourth line of your script has
    a bug.

     Shoes.app do
       nostroke
       @obj = []
       @obj << image(:width => 100, :height => 20){rect 0, 0, 100, 20,
    :fill => yellow}
       @obj << image(:top => 50, :width => 100, :height => 20){rect 0,
    0, 100, 20, :fill => green}.hide
       @obj << rect(0, 100, 100, 20, :fill => blue)
       @obj << rect(0, 150, 100, 20, :fill => red).hide
       every(1)[EMAIL PROTECTED]|e| e.toggle}}
     end

    The fix is committed.

I just compiled r979 on OS X, and the above code does not seem to work
(the blue and red rectangles are always visible). Am I missing something ?

--
P.-A.

Reply via email to