Skip to content

Commit

Permalink
Release 4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Mar 29, 2022
2 parents dac6a14 + 0dbec8f commit 64e6670
Show file tree
Hide file tree
Showing 34 changed files with 123 additions and 112 deletions.
2 changes: 1 addition & 1 deletion dist/adapters/cubemap-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/adapters/cubemap-video.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap-video.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/adapters/cubemap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/equirectangular-tiles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/adapters/equirectangular-video.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/adapters/equirectangular-video.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 46 additions & 39 deletions dist/photo-sphere-viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/autorotate-keypoints.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/compass.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/compass.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/gyroscope.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/markers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/resolution.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/stereo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/video.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/video.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/virtual-tour.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/visible-range.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = {
'plugin-resolution',
'plugin-settings',
'plugin-stereo',
['plugin-video', 'Video (NEW)'],
['plugin-video', 'VideoPlugin (NEW)'],
'plugin-virtual-tour',
'plugin-visible-range',
],
Expand Down
4 changes: 2 additions & 2 deletions docs/plugins/plugin-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Once enabled it will add various elements to the viewer:
- Progressbar above the navbar
- Play button in the center of the viewer

It also supports advanced autorotate with times `keypoints`.
It also supports advanced autorotate with timed `keypoints`.

```js
const viewer = new PhotoSphereViewer.Viewer({
Expand Down Expand Up @@ -79,7 +79,7 @@ const viewer = new PhotoSphereViewer.Viewer({
#### `keypoints`
- type: `Array<{ position, time }>`

Defines timed keypoints that will be used with by the autorotate button.
Defines timed keypoints that will be used by the autorotate button.

```js
keypoints: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photo-sphere-viewer",
"version": "4.6.0",
"version": "4.6.1",
"description": "A JavaScript library to display Photo Sphere panoramas",
"homepage": "https://photo-sphere-viewer.js.org",
"main": "dist/photo-sphere-viewer.js",
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/shared/AbstractVideoAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AbstractVideoAdapter extends AbstractAdapter {

static supportsTransition = false;
static supportsPreload = false;
static supportsDownload = true;
static supportsDownload = false;

constructor(psv, options) {
super(psv);
Expand Down
3 changes: 0 additions & 3 deletions src/buttons/AbstractButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ export class AbstractButton extends AbstractComponent {
if (!supportedOrObject) {
this.hide();
}
else {
this.show();
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/buttons/DescriptionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class DescriptionButton extends AbstractButton {
refreshUi(refresh = false) {
if (refresh) {
const caption = this.psv.navbar.getButton(NavbarCaption.id, false);
const captionHidden = caption && !caption.prop.contentVisible;
const captionHidden = caption && !caption.isVisible();
const hasDescription = !!this.psv.config.description;

if (captionHidden || hasDescription) {
Expand Down
Loading

0 comments on commit 64e6670

Please sign in to comment.