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
When this code runs the vectorio shapes remain visible, while the label that is in the same groups blinks visible and hidden as the loop runs:
vectorio_hidden.mp4
I intend to work on a solution for this, creating the issue here to get it documented somewhere and see if anyone else has ideas or input about it.
If I am understanding correctly TileGrid and Group have code like this which allows them to handle the case where they get hidden by their containing Group:
vectorioshapes do not currently support beinghiddenby the group that contains them.This sample code illustrates the issue:
When this code runs the vectorio shapes remain visible, while the label that is in the same groups blinks visible and hidden as the loop runs:
vectorio_hidden.mp4
I intend to work on a solution for this, creating the issue here to get it documented somewhere and see if anyone else has ideas or input about it.
If I am understanding correctly TileGrid and Group have code like this which allows them to handle the case where they get hidden by their containing Group:
circuitpython/shared-module/displayio/TileGrid.c
Lines 354 to 357 in fcde108
I believe similar functionality could be implemented for vectorio shapes, maybe somewhere in this function:
circuitpython/shared-module/vectorio/VectorShape.c
Line 316 in fcde108