mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix ui text alphas
This commit is contained in:
parent
93f0f73bba
commit
41677fccc3
1 changed files with 4 additions and 4 deletions
|
|
@ -362,13 +362,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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue