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
It seems that whenever the property visible of some component is set in some state s0 of a component but not others, its value for the states where it is not set is false, rather than the expected true. Other properties such as font-size use their default value when they are set in some state but not others.
For instance, the following does not show "Hello world".
Window {
property<int> niceness: 33;
greeting := Text {
text: "Hello world";
states [
rude when root.niceness <= 0: {visible: false}
mannered when root.niceness > 100: {text: "Hello, dearest world"; font-size: 32px;}
]
}
}
The text was updated successfully, but these errors were encountered:
It seems that whenever the property
visible
of some component is set in some states0
of a component but not others, its value for the states where it is not set isfalse
, rather than the expectedtrue
. Other properties such asfont-size
use their default value when they are set in some state but not others.For instance, the following does not show "Hello world".
The text was updated successfully, but these errors were encountered: