From 49cdeb3c03535ddd25663f19cf45b979983998dd Mon Sep 17 00:00:00 2001 From: DetectiveBaldi <86160807+DetectiveBaldi@users.noreply.github.com> Date: Sat, 20 Sep 2025 23:00:13 -0400 Subject: [PATCH] Honor color alpha --- flixel/text/FlxInputText.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flixel/text/FlxInputText.hx b/flixel/text/FlxInputText.hx index 0c24efe218..2665e0e7d0 100644 --- a/flixel/text/FlxInputText.hx +++ b/flixel/text/FlxInputText.hx @@ -1408,6 +1408,7 @@ class FlxInputText extends FlxText implements IFlxInputText { box = _selectionBoxes[i] = new FlxSprite(); box.color = selectionColor; + box.alpha = selectionColor.alphaFloat; } var boxRect = FlxRect.get(startBoundaries.x - scrollH, startBoundaries.y - scrollVOffset, @@ -2137,7 +2138,10 @@ class FlxInputText extends FlxText implements IFlxInputText for (box in _selectionBoxes) { if (box != null) + { box.color = selectionColor; + box.alpha = selectionColor.alphaFloat; + } } }