Skip to content

Commit

Permalink
Merge pull request #608 from Jarrio/patch-6
Browse files Browse the repository at this point in the history
Update Style.hx
  • Loading branch information
ianharrigan authored May 17, 2024
2 parents 88c96f3 + 18f922c commit 41f7691
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions haxe/ui/styles/Style.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 41f7691

Please sign in to comment.