[BUG]Rotating Gradients

Gradeint_Bug_2022_07_27.zip (18.5 KB)

Gradients seem to get all messed up when rotating shapes. I haven’t found a consistent pattern. (seems like maybe the gradient for the current color of the shape rotates when the shape rotates, but the rest of the gradient directions remain unchanged? but that’s not consistent with the red state (3) either) In the attached templates the lighter part of the gradient should form a line through the center like this for all states(colors):

image

However, when switching between states and/or rotating, the gradient doesn’t seem to keep it’s orientation with the shape and I end up with the gradient the wrong direction, like so:
image image

Somewhat unrelated, I also have 2 “Angle” properties in the style customizer:
image