Constellation Overlay fixed for mobile/tablet devices #3729
Replies: 3 comments 8 replies
-
Thanks for these and the work to fix them Since Virtualsky appears to be abandoned I will look at forking it into our project and adding these files. Thanks for the hard work Alex |
Beta Was this translation helpful? Give feedback.
-
@32BOBO32, Samuele, I'll then incorporate all your changes into the new release. |
Beta Was this translation helpful? Give feedback.
-
@Alex-developer, Virtual sky is already in v2024.xx.xx, so no need to do anything. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I am attaching a package of three modified files that should solve the problems currently present with the display of the constellation layer on our allskycameras based on TJ software (Allsky Version: v2023.05.01_04 - Website Version: v2023.05.01.) The three files to replace those already present on your allsky website are:
➡️controller.js
➡️allsky.css
➡️virtualsky.js
controller.js and allsky.css are both to be load in the main root, virtualsky.js has to be loaded inside the virtualsky folder.
This package fixes the following problems:
▪️ the constellations layer is now correctly scaled also on mobile and tablet devices
▪️ the constellations layer is recalculated every time pages are resized in real time
▪️ the offsets are now recalculated correctly also on mobile and tablet devices
▪️ the "mouse: false" setting is now applied correctly also on mobile/tablet devices, therefore not allowing the rotation of the constellation layer on mobile phones and tablets
Please, before overwrite your files, make a backup copy of them and give me a feedback.
Preview: www.samuelepinna.com/test/
Package Download: www.samuelepinna.com/download/fixed_constellation_TJallsky.zip
Beta Was this translation helpful? Give feedback.
All reactions