diff --git a/haxe/ui/styles/Style.hx b/haxe/ui/styles/Style.hx index ad57ffdea..5583fdc43 100644 --- a/haxe/ui/styles/Style.hx +++ b/haxe/ui/styles/Style.hx @@ -170,6 +170,8 @@ class Style { if (!hasLeftBorder && !hasRightBorder && !hasTopBorder && !hasBottomBorder) { t = StyleBorderType.None; } else if (hasLeftBorder && hasRightBorder && hasTopBorder && hasBottomBorder && borderColoursEqual) { + borderSize = borderLeftSize; + borderColor = borderLeftColor; t = StyleBorderType.Full; } return t;