Bug New Control.SetVisible()/Control.SetHidden() functions
#1
@ronie @enen92 I'm trying the new Control.SetVisible and SetHidden functions but they don't seem to trigger Visible / Hidden animations. Is my code wrong or is it a bug?

Code:
<control type="button">
  <onleft>Control.SetHidden(100)</onleft>
  <onright>Control.SetVisible(100)</onright>
</control>

<control type="image" id="100">
  <animation effect="fade" start="0" end="100" time="1000">Visible</animation>
  <animation effect="fade" start="100" end="0" time="1000">Hidden</animation>
  <texture>my_texture.png</texture>
</control>

The image appears and disappears fine, but the Visible/Hidden animations are never triggered.

I've also tried <animation effect="fade" time="1000">VisibleChange</animation> which also doesn't work.
Reply

Logout Mark Read Team Forum Stats Members Help
New Control.SetVisible()/Control.SetHidden() functions0