Skip to content

Improve how we handle min/max sizes - #2997

Merged
zcbenz merged 19 commits into
masterfrom
size-constraints
Oct 6, 2015
Merged

zcbenz merged 19 commits into
masterfrom
size-constraints

Conversation

@zcbenz

@zcbenz zcbenz commented Oct 5, 2015

Copy link
Copy Markdown
Contributor

Previously the way we handle minimum and maximum window is a mess and it is easy to make errors, this PR removes duplicate code on handling window size and content size, and makes the logic of size related methods more simpler.

Fixes #2956.
Fixes #2945.
Fixes #2552.
Fixes #996.

@etiktin

etiktin commented Oct 5, 2015

Copy link
Copy Markdown
Contributor

👍

@smebberson

Copy link
Copy Markdown

Looks great!

zcbenz added a commit that referenced this pull request Oct 6, 2015
Improve how we handle min/max sizes
@zcbenz
zcbenz merged commit 2ef66cb into master Oct 6, 2015
@zcbenz
zcbenz deleted the size-constraints branch October 6, 2015 08:54
@willbarrett

Copy link
Copy Markdown

Thank you!

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.

4 participants