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

Fix * operator which would set value not just for multiplier but also for constant #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kean
Copy link

@kean kean commented Jun 29, 2018

We've found an issue in one of the project that is using EasyPeasy. When you create a constraint using * operator (e.g. Width(*1.5)), it would set not just the multiplier to 1.5 but also the constant. As a workaround we're currently always explicitly providing a constant: Width(==0 *1.5).

@nakiostudio-bot
Copy link
Collaborator

Current coverage for EasyPeasy.framework is 96.13%

Files changed - -
Constant.swift 100.00%

Powered by xcov

Generated by 🚫 Danger

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.126% when pulling 89f18e7 on kean:master into 35fe549 on nakiostudio:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants