Skip to content
Open
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion flixel/addons/ui/FlxInputText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ class FlxInputText extends FlxText
caret.offset.x = shadowX < 0 ? -shadowX : 0;
caret.offset.y = shadowY < 0 ? -shadowY : 0;
#end
case OUTLINE_FAST, OUTLINE:
case OUTLINE_FAST, OUTLINE, OUTLINE_CARDINAL:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a default case to prevent further CI issues in flixel-ui. Flixel-UI is no longer maintained but we're not ready to remove it from CI just yet as some demos still use it.

specifically add this to the end of the switch

				case unhandled:
					throw 'Unhandled borderStyle: $unhandled';
			}

Comment thread
Geokureli marked this conversation as resolved.
// Border all around it
final absSize = Math.abs(borderSize);
cw += Std.int(absSize * 2);
Expand Down
Loading