Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨Breaking change🚨 constants works as inverted in right, bottom, trailing #61

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

muukii
Copy link
Collaborator

@muukii muukii commented Oct 27, 2021

Before

view.mondrian.layout.bottom(.toSuperview, -10)
view.mondrian.layout.bottom(.toSuperview, .max(-10))

After

view.mondrian.layout.bottom(.toSuperview, 10)
view.mondrian.layout.bottom(.toSuperview, .min(10))

@muukii muukii changed the title Apply constraints inverted in right, bottom, trailing 🚨Breaking change 🚨 Apply constraints inverted in right, bottom, trailing Oct 27, 2021
@muukii muukii changed the title 🚨Breaking change 🚨 Apply constraints inverted in right, bottom, trailing 🚨Breaking change🚨 constants works as inverted in right, bottom, trailing Oct 27, 2021
@muukii muukii merged commit 3d1bf3b into main Oct 28, 2021
@muukii muukii deleted the muukii/inverted branch October 28, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant