Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autorotation stuck #718

Closed
haldo98 opened this issue Aug 2, 2022 · 5 comments
Closed

Autorotation stuck #718

haldo98 opened this issue Aug 2, 2022 · 5 comments
Labels
Milestone

Comments

@haldo98
Copy link

haldo98 commented Aug 2, 2022

Chrome latest version
PSV version 4.7.0

A strange behaviour happens with some pano I have in my pages
after loading.... I have set the autorotateDelay to 3000. When this time is expired the autorotate button is toggled as expected, but nothing happens. The autoration is stuck.
This happens only in some pano.... In other panos the behaviour is as expected and the autoration starts as planned

Stucked autoration pano:
https://www.tadini.it/panorama/saccarello/panorama_saccarello.htm

normal autoration
https://www.tadini.it/panorama/gusmeroli/panorama_gusmeroli.htm

Thank U.

@mistic100
Copy link
Owner

I think it is because of the VisibleRangePlugin and the fact your panorama is very narrow, it evens logs a warning because the range is invalid.

@haldo98
Copy link
Author

haldo98 commented Aug 2, 2022

with the previous (4.6.4) version did not happen though

@mistic100 mistic100 added the bug label Aug 2, 2022
@mistic100 mistic100 added this to the 4.7.1 milestone Aug 2, 2022
@mistic100
Copy link
Owner

probably a side effect of this rework dec99cb

@mistic100
Copy link
Owner

Actually the mentionned commit only agravated an existing bug : the computed latitude range was inverted and it didn't handle properly the case of narrow images when the range is smaller than the viewport.

@haldo98 haldo98 mentioned this issue Aug 11, 2022
@github-actions
Copy link

github-actions bot commented Sep 3, 2022

This feature/bug fix has been released in version 4.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants