Skip to content

Conversation

@s-light
Copy link
Contributor

@s-light s-light commented Aug 24, 2021

Description:
fixes #4911
testcase:
https://codepen.io/s-light/pen/NWgWoJm?editors=1001

Changes proposed:

  • extract constrainSizeTo from getMaxSize
  • add constrainSizeTo for embedded mode
  • build dist for testcase.

@dmarcos dmarcos force-pushed the fix_maxCanvas_embedded branch from 2696c4f to 5bc1836 Compare February 3, 2022 01:30
@dmarcos
Copy link
Member

dmarcos commented Feb 3, 2022

Thanks for the patience! Congrats on your first contribution 🥇

@dmarcos dmarcos merged commit 0dd84ab into aframevr:master Feb 3, 2022
@s-light
Copy link
Contributor Author

s-light commented Feb 3, 2022

thanks for merging!!

@s-light s-light deleted the fix_maxCanvas_embedded branch February 3, 2022 14:04
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.

renderer options maxCanvasWidth & maxCanvasHeight not respected when embedded

2 participants