瀏覽代碼

Update pannellum.js

this is a workarround for the unsupported fullscreen api on ios (iphones/ipads).
i have added a new config value "workaroundFullscreen" (by default on) which now forces to show the fullscreen button.
on click it maximizes, additionally to the fullscreen api function, the pannellum container class inside the browser.
pull/1132/head
the-ft 1 年之前
committed by GitHub
父節點
當前提交
ff68062558
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js 查看文件

@@ -103,7 +103,7 @@ var defaultConfig = {
showZoomCtrl: true,
autoLoad: false,
showControls: true,
workaroundFullscreen: true,
workaroundFullscreen: true, //set true if fullscreen api is not supported
orientationOnByDefault: false,
hotSpotDebug: false,
backgroundColor: [0, 0, 0],


Loading…
取消
儲存