Open Nyan11 opened 2 hours ago
In Toplo, the space assigned states to each elements. The state determine if a skin need to be installed, when an element is hover or pressed, or when an element is selected or unselected. Then each element can see if it has a new state and if so, the element can changed its look (visual properties) based on its skin.
The bug is trigger because the ToLabel element of the toggle button receive a ToSelectionState caused by the ToListElement. So when the label apply a "selection state" it's color change.
To debug it you can place two debug points
It is a Toplo bug.
OR
The labels do not displayed correctly when toggle buttons are in list.
Reproduce
Execute the code in playground. Click on all toggle buttons and select a line in the list.