Click Triggered Animation Bug

What do you want to achieve?

  • Button A can trigger a kind of animation (Move X or Move Y or other kinds)
  • Remove the “Clickable” flag of “Button A” when animation is triggered (can be done)
  • Add the “Clickable” flag of “Button A” when animation is done (cannot be done)

This problem also exists in the official demo “Futuristic_Ebike”, just open the project, simulate it and repeatedly click the “Driving” and “Battery” button really quick, you will find the “Move X” animation brings wrong position.

What have you tried so far?

As I said above, there’s no way except coding to Add the “Clickable” flag of “Button A” when animation is done.

Screenshot or video

image

Others

  • SquareLine Studio version: v1.3
  • Operating system: Windows 10
  • Target hardware: STM32

If I understand correctly what we need here is an animation ready event trigger, right?

Thanks for your reply, yes! That’s what I am talking about.

I see. It’s a little bit complicated because now events can be attached only to widgets. But this event would be attached to an animation. LVGL supports it, but SLS we don’t have such a concept now.

We will discuss it.

1 Like