mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-26 12:41:40 +00:00
fix ui text alphas
This commit is contained in:
parent
bb9f59e7a8
commit
47bb2de547
1 changed files with 4 additions and 4 deletions
|
|
@ -485,13 +485,13 @@ class PlayGui {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHelpTextOpacity(value:Float) {
|
public function setHelpTextOpacity(value:Float) {
|
||||||
helpTextForeground.text.color.a = value;
|
@:privateAccess helpTextForeground.text._textColorVec.a = value;
|
||||||
helpTextBackground.text.color.a = value;
|
@:privateAccess helpTextBackground.text._textColorVec.a = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAlertTextOpacity(value:Float) {
|
public function setAlertTextOpacity(value:Float) {
|
||||||
alertTextForeground.text.color.a = value;
|
@:privateAccess alertTextForeground.text._textColorVec.a = value;
|
||||||
alertTextBackground.text.color.a = value;
|
@:privateAccess alertTextBackground.text._textColorVec.a = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAlertText(text:String) {
|
public function setAlertText(text:String) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue