I've got this piece of Shoes app:
flow :top => 10, :left => 10 do
flow :width => 0.3 do
para @board.deck.card
click do
if @board.source_pile
@board.source_pile = nil
@deck_border.hide
else
@board.source_pile = @board.deck
@deck_border = border yellow, :strokewidth => 2
end
end
end
end
I would like to apply border only to the second flow, but for some reason the border appears around the whole application. What am I missing?