|
@@ -2,7 +2,7 @@
|
|
|
// Pano2VR 6.0.1/17227
|
|
|
// Filename: simplex_v6.ggsk
|
|
|
// Generated 周三 11月 2 22:17:39 2022
|
|
|
-
|
|
|
+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
|
|
|
+ }
|
|
|
// player.setVariableValue('vis_thumbnail_menu_mobile', !player.getVariableValue('vis_thumbnail_menu_mobile'));
|
|
|
}
|
|
|
if (
|