Tangent I can confirm this result also. i added this to my onresize event. onresize=" set(plugin[openfs].visible, false);" if that is set when the pano opens it removes the fs button. if i add it after the pano loads set(events.onresize, set(plugin[openfs].visible, false)); and then load a new xml or a new scene the button disappears. it seems that it is detecting a loadpano or loadscene as a resize event. it must be a bug.
|
|
Source code |
1 2 3 4 5 6 |
set(sizehaschanged,false); if(laststagewidth != stagewidth, set(sizehaschanged,true)); if(laststageheight != stageheight, set(sizehaschanged,true)); copy(laststagewidth,stagewidth); copy(laststageheight,stageheight); if(sizehaschanged, your_resize_action() ); |