Skip to content

Commit

Permalink
should be "alpha" not "value"
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Dec 9, 2023
1 parent cbe6777 commit c10e2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class ComponentImpl extends ComponentBase {
public override function set_alpha(alpha:Float):Float {
_surface.alpha = alpha;
if (hasTextDisplay()) {
getTextDisplay().tf.alpha = value;
getTextDisplay().tf.alpha = alpha;
}
if (hasTextInput()) {
getTextInput().alpha = alpha;
Expand Down

0 comments on commit c10e2e2

Please sign in to comment.