According to the documentation in https://tiddlywiki.com/#ButtonWidget, the 
`selectedClass` parameter is assigned "if the popup is triggered or *the 
tiddler specified in set already has the value specified in setTo*"

However, in your `$button` code, the `setTo` parameter is calculated using 
a filtered transclusion whose value will always be the *opposite* of the 
current value stored in the `$:/state/petri/sidebar3` tiddler.  Thus, the 
`selectedClass` is never applied.

Are you certain that this used to work "a few weeks back"?

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7c4d748-6af6-4435-84e5-4de3c4024355n%40googlegroups.com.

Reply via email to