Improve options

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-09-01 12:43:25 +02:00
父節點 d1e5089bdd
當前提交 a15fdb2ad6
簽署人: dalan
GPG 金鑰 ID: EE3B917931C07B64
共有 2 個檔案被更改,包括 3 行新增2 行删除

查看文件

@ -15,7 +15,7 @@ app = QApplication(sys.argv)
app.setApplicationName("SimplePanoramaViewer")
if len(sys.argv) < 2:
img_dialog = QFileDialog.getOpenFileName(None, "Open image", str(Path.home()), "JPG Images (*.jpg *.JPG *.jpeg)")
img_dialog = QFileDialog.getOpenFileName(None, "Open image", str(Path.home()), "JPG Images (*.jpg *.JPG *.jpeg *.pjpeg *.pjpg *.PJPG)")
img = img_dialog[0]
else:
img = path.abspath(sys.argv[1])

查看文件

@ -49,10 +49,11 @@
var PSV = new PhotoSphereViewer({
container: 'photosphere',
panorama: '__IMG_PATH__',
caption: 'Panorama displayed with Photo Sphere Viewer V3.4.0',
time_anim: false,
default_fov: 40,
min_fov: 5,
max_fov: 60,
max_fov: 75,
navbar: [
'autorotate',
'zoom',