Weblet-dex / Web

Web based content for integrating into Dex app
0 stars 0 forks source link

[BUG] Black overlay transition & intro stop/start/resume time. #2

Open Weblet-dex opened 1 year ago

Weblet-dex commented 1 year ago

While the black overlay is transitioning during the intro, it can be stopped there by opening the menu. Because the wireframes are black, they are not seen. (as seen in image below)

Image

Currently the website saves the position it was playing at and resumes it if the user scrolls/navigates all the way back to it. If the user has navigated to the menu part way through the intro then they more than likely are finished. If they manage to scroll/navigate back to the intro (I have occasionally) then I assume this will only annoy them.

suggested solution is the skip the intro to the end and que the silver coin & menu.

cryptocollider commented 1 year ago

sure skipping intro to end if someone loads another page via the menu can be achieved by placing

logoTL.time(logoTL.duration())

in the loadPage function within the home page specific if statement currentPage == 0, although this will make the background suddenly change it probably wont happen that often