Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions flixel/text/FlxInputText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -2137,7 +2138,10 @@ class FlxInputText extends FlxText implements IFlxInputText
for (box in _selectionBoxes)
{
if (box != null)
{
box.color = selectionColor;
box.alpha = selectionColor.alphaFloat;
}
}
}

Expand Down