fix ui text alphas

This commit is contained in:
RandomityGuy 2022-12-22 21:19:11 +05:30
parent bb9f59e7a8
commit 47bb2de547

View file

@ -485,13 +485,13 @@ class PlayGui {
}
public function setHelpTextOpacity(value:Float) {
helpTextForeground.text.color.a = value;
helpTextBackground.text.color.a = value;
@:privateAccess helpTextForeground.text._textColorVec.a = value;
@:privateAccess helpTextBackground.text._textColorVec.a = value;
}
public function setAlertTextOpacity(value:Float) {
alertTextForeground.text.color.a = value;
alertTextBackground.text.color.a = value;
@:privateAccess alertTextForeground.text._textColorVec.a = value;
@:privateAccess alertTextBackground.text._textColorVec.a = value;
}
public function setAlertText(text:String) {