Closed tuupos closed 3 months ago
@tuupos Just in case you have not found a solution to this yet...
I had to spend some time on the animation operators to understand their behavior. I found passing the operators as text corrected the strange results I was getting (enclose the operators in single quotes).
- state: 'P4'
operator: '!='
styles:
text:
fill: var(--theme-sys-palette-secondary85)
In the documentation for Supported Operators Marco does call out that all values should be passed as strings. The examples on the page do not show this for the operators but I tried it and achieved the results i was looking for.
Happy New Year!
-James
Fantastic!!! I will try it out when i get home in about a week!!
Happy New Year to you too!
It works! I hadn't had time for some months to test it !
So make sure your problem is not related to that!
Swiss Army Knife version
v2.5.1-dev.2
Bug description
When I use the the ">" and ">=" operator in my yaml it gets ignored beacuse it thinks it's part of scripting.
e.g. like the > sign after the next fill.
Expected behavior
The > sign should be seen as "greater than" and not as the beginning of a multiline code.