You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was an issue with the clear command deleting everything. Image clearing didn't seem to do anything in Shoes 3. Has this problem been fixed in Shoes4?
Otherwise it just keeps stacking images, without the ability to clear the screen.
The text was updated successfully, but these errors were encountered:
The clear command should delete everything in the slot. There have been improvements in Shoes 3 for managing the image cache That may help. You could file an issue with Shoes 3
Ah ok so it's an image cache issue? When I followed the advice a friend, that mentioned recreating the buttons every time you clear the screen:
Shoes.appdodefclear_screenclearenddefgenerate_poemsystem("ruby QRPoetry.rb")end# In this one, I can't seem to read the image unless it's in the main directory.defdisplay_imageimage"poem.png"enddefdisplay_buttonbutton("Generate Poem"){c=clear_screen;i=image_clear;g=generate_poem;d=display_button;d=display_image}button("Exit"){exit}endflowdobutton("Generate Poem"){c=clear_screen;g=generate_poem;d=display_button;d=display_image}button("Exit"){exit}endend
The system call refers to an external script that generates a QR code from a Ruby Gem, and I have the Shoes app display the image generated from the external script.
There was an issue with the clear command deleting everything. Image clearing didn't seem to do anything in Shoes 3. Has this problem been fixed in Shoes4?
Otherwise it just keeps stacking images, without the ability to clear the screen.
The text was updated successfully, but these errors were encountered: