Skip to content

Conversation

@cristian-5
Copy link

@cristian-5 cristian-5 commented Oct 21, 2023

Added font-weight support #51 with a note for lighter and bolder which are context related and must be fixed in a future patch (that's why we use a member function rather than an extension on Font.Weight).

Fixed the exhaustive switch warning in MBezierPath as well.

Comment on lines 27 to 29
case "normal": return .regular
case "bold": return .bold
case "bolder": return .black

Choose a reason for hiding this comment

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

What's up with these spacings? 😄

Copy link
Author

Choose a reason for hiding this comment

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

ocd? hahah I'm just a fan of lined-up code

Choose a reason for hiding this comment

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

I mean any SwiftFormat/SwiftLint or similar tool would start freaking out here 😄

Copy link
Author

Choose a reason for hiding this comment

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

alr I'll use conventions then

Copy link
Author

Choose a reason for hiding this comment

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

@msrutek-paylocity I fixed the spacing using swift conventions 🖖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants