|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+var _vr_flag = false
|
|
|
function pano2vrSkin(player,base) {
|
|
|
player.addVariable('opt_hotspot_preview', 2, true);
|
|
|
player.addVariable('opt_zoom', 2, true);
|
|
@@ -2555,8 +2555,13 @@ function pano2vrSkin(player,base) {
|
|
|
(player.getViewerSize().width <= 450)
|
|
|
)
|
|
|
) {
|
|
|
- document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.visibility='visible'
|
|
|
- document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.opacity=1
|
|
|
+ if (_vr_flag) {
|
|
|
+ document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.visibility='hidden'
|
|
|
+ document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.opacity=0
|
|
|
+ } else {
|
|
|
+ document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.visibility='visible'
|
|
|
+ document.querySelectorAll('.ggskin.ggskin_scrollarea')[0].style.opacity=1
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
if (
|