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

DOM.visualBounds now includes scrollbars #1429

Merged
merged 1 commit into from
Dec 11, 2014

Conversation

pnstickne
Copy link
Contributor

  • While not ideal this fixes most (if not all) of the ScaleManager issue
    pointed out in setResizeCallback needs clamping #1400. This issue should be addressed later. As of now,
    as an interim fix, this avoids the reported issue entirely (or at least
    I have not been able to reproduce it), as well as assorted artifacts
    when resizign a window while scaling.
  • The is is the 2.1 behavior: In certain cases this can result in the
    right or bottom of the Game being cut-off slightly (the width of a
    scrollbar) instead of scaled, which is why it was originally changed.

- While not ideal this fixes most (if not all) of the ScaleManager issue
  pointed out in phaserjs#1400. This issue should be addressed later. As of now,
  as an interim fix, this avoids the reported issue entirely (or at least
  I have not been able to reproduce it), as well as assorted artifacts
  when resizign a window while scaling.

- The is is the 2.1 behavior: In certain cases this can result in the
  right or bottom of the Game being cut-off slightly (the width of a
  scrollbar) instead of scaled, which is why it was originally changed.
photonstorm added a commit that referenced this pull request Dec 11, 2014
DOM.visualBounds now includes scrollbars
@photonstorm photonstorm merged commit bc1a24e into phaserjs:dev Dec 11, 2014
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