I'm using avoidShowingBackground to clamp my partial pano, but on load, you can still see the black background (noticeable mainly on mobile – portrait viewports).
When clicking or tapping the pano for the first time, it kicks into action and behaves how I want it to (on all screen resolutions, eg. desktop and mobile).
Example:
https://codepen.io/martingarnett01/pen/GgKdRPm
Any ideas on whether I can change a setting or somehow trigger the avoidShowingBackground onLoad?
I'm using
avoidShowingBackgroundto clamp my partial pano, but on load, you can still see the black background (noticeable mainly on mobile – portrait viewports).When clicking or tapping the pano for the first time, it kicks into action and behaves how I want it to (on all screen resolutions, eg. desktop and mobile).
Example:
https://codepen.io/martingarnett01/pen/GgKdRPm
Any ideas on whether I can change a setting or somehow trigger the
avoidShowingBackgroundonLoad?