Page 1 of 1

Incorrect Rectangle initial size

Posted: Tue Jun 27, 2017 8:55 pm
by jare
Hi,
I noticed that my tour's background done from a rectangle element or image appears in incorrect position/size at the very tour start for a few milliseconds.
Then goes to it's correct place. Not so critical bug but spoils the intro effect.
Links to tours where it can be seen:
http://3dpano.pindora.com/public/cinema/tour.html
http://3dpano.pindora.com/public/archiv/tour.html

Re: Incorrect Rectangle initial size

Posted: Wed Jun 28, 2017 12:28 am
by 3DV
You can probably fix that by changing the background of the html page that contains the tour to the same color as the tour background.

Edit the tour.html and in the <head> section, go to the <style type="text/css" title="Default"> and inside the body { } add:
background-color: rgb(35, 31, 32);

It should look something like this then:

Code: Select all

	body {
		background-color: rgb(35, 31, 32);
		height:100%;
		margin: 0px;
		overflow:hidden; /* disable scrollbars */
		font-size: 10pt;
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* remove highlight on tab for iOS/Android */
	}

Re: Incorrect Rectangle initial size

Posted: Thu Jun 29, 2017 11:26 am
by jare
Hi,
thanks for the workaround, it works.

I remember that in the ancient versions of Pano2VR there were background color settings under the html settings, maybe it is worth to bring it back?