Virtual joystick opacity Problem

I tried to change the opacity of the virtual joystick.

It didn’t work.

My CurrentOpacity Value is 0.2.
However, the value of 51.

FLinearColor is a value between 0 and 1.

I suggest.

ColorAndOpacitySRGB.A = FMath::RoundToInt(255.f * CurrentOpacity);

ColorAndOpacitySRGB.A = CurrentOpacity;

Please solve the problem.
thanks!

Hello,

It seems like you are suggesting a direct code change. If you wish, you could make a pull request on our Github repository to have the code changed. It would be reviewed by one of our developers and either accepted or rejected. If it is accepted, you would become an engine contributor. Otherwise, if you wish, I can enter the report myself. Either way is fine but I would rather give you the option.