jeremyckahn / mantra

A professional web animation tool for everyone
https://jeremyckahn.github.io/mantra/
Other
184 stars 15 forks source link

Opacity seems broken #26

Closed MightyFo0l closed 2 years ago

MightyFo0l commented 2 years ago

Using Opacity values 0 and 100 doesn't seem to transition.

GIF: animation tool error

jeremyckahn commented 2 years ago

Hi @MightyFo0l, thanks for opening this issue and the for the helpful GIF! I think that Mantra is working correctly here. To get the effect you want, it looks like you just need to change the opacity value from 100 to 1. The number in the field represents a CSS opacity value which a normalized number value (from 0 to 1).

Please give this a try and let me know if works for you!

MightyFo0l commented 2 years ago

Ah, that explains it! I was thinking in percentages