460place
WatchMaker Bug Tracking All the ideas and discussions
1 vote Vote

Code No Longer Working or Opacity

OH NO!!
I am not sure if it's the updates, but I think I have to use new code...the code I was using

{c1ex}==true and var_chrono == 3 and 100 or 0 no longer works to make the field opaque if there isn't a cal item!!

This is kinda not good since I have a couple of faces in the Play store that use this in combination with

math.floor(({c1br})/30)..string.sub('{c1b}',3)..(({c1bp}*360

metah4, 13.06.2015, 00:04
Idea status: rejected

Comments

AlexCurran, 16.06.2015, 17:21
The only change is described in the changelog:
- Fix for non-evaluation of blank calendar events {c1br}, {c1bp}, {c1be}, {c1ep}: they now return 0 to fix arithmetic comparisons, e.g. {c1ex} and (1-{c1bp}) or 45

So your first expression won't change - I have just tested this as working in 3.8:
{c1ex}==true and var_chrono == 3 and 100 or 0

Your second expression should also work and also compiled in 3.8 but you had 2 extra brackets before the final {c1bp}

Leave a comment