I'm starting to code GUIs with Shoes. I tried the progress bar from the examples, but I found no way to exit the animation, break
did not work...
animate do |frames|
unless frames > 100
@p.fraction = (frames % 100) / 100.0
else
break
end
end
Is there any possibility to stop a animation with Shoes? Thanks.