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

ASDimensionMake to be more lenient #trivial #382

Merged
merged 2 commits into from
Jun 23, 2017
Merged

Conversation

nguyenhuy
Copy link
Member

Using the layout debugger, users can frequently input an invalid dimension string. Instead of throwing assertion, let's be more lenient and fall back to Auto.

Don't throw assertion when the string is invalid
@nguyenhuy nguyenhuy changed the title ASDimensionMake to be more lenient ASDimensionMake to be more lenient #trivial Jun 22, 2017
@ghost
Copy link

ghost commented Jun 22, 2017

🚫 CI failed with log

@nguyenhuy nguyenhuy merged commit df01adc into master Jun 23, 2017
@nguyenhuy nguyenhuy deleted the HNLenientDimensionMake branch June 23, 2017 20:18
garrettmoon pushed a commit that referenced this pull request Jun 30, 2017
* ASDimensionMake to be more lenient

Don't throw assertion when the string is invalid

* Fix unit test
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* ASDimensionMake to be more lenient

Don't throw assertion when the string is invalid

* Fix unit test
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.

None yet

2 participants