rive-app / rive-cpp-legacy

C++ runtime for Rive
MIT License
287 stars 43 forks source link

Boolean events can toggle! #293

Closed luigi-rosso closed 2 years ago

luigi-rosso commented 2 years ago

Counterpart to https://github.com/rive-app/rive/pull/3723

Unfortunately fixing the bug is required in this PR (instead of in a separate one) as it directly impedes the new toggle test from succeeding.

Also, I'm not sure why my clang-format insists on re-flowing some sections like you can see below in tryChangeState, etc.