diff --git a/README.md b/README.md index 5623c13d8..54379d852 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,49 @@ WeatherMaster is developed with pure HTML, CSS, JavaScript, and Java. Designed to mimic the look and feel of a native Android app. -`(Last updated on 08-24-2024 at 7:38 AM UTC)` +`(Last updated on 08-26-2024 at 8:32 AM UTC)` # 👁️ Preview -> [!CAUTION] -> **Screenshots may differ from the current version.**
-> **Issue: The app may not load the weather if the API request limit is exceeded; you will have to wait until it resets. The app switches APIs up to 5 times, one for each request 🫠.** +> [!NOTE] +> **Screenshots may differ from the current version.** -| Current & 48hrs | Hourly prec & 8-days forecast| Radar & moon/sun| Current Conditions| -| :---: | :---: | :---: | :---: | -| | | | | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Current & 48hrsHourly Precipitation & 8-Day ForecastRadar & Moon/Sun
Current ConditionsAir and UV IndexGovernment Alerts
Moon PhasesSettingsForecast Page
+ -| Air and UV index | Government alerts| Moon phases | Settings| -| :---: | :---: | :---: | :---: | -| | | | | -| Forecast page | -| :---: | -| |
diff --git a/app/src/main/assets/modules/scroll.js b/app/src/main/assets/modules/scroll.js index c8d7f9b59..c69560945 100644 --- a/app/src/main/assets/modules/scroll.js +++ b/app/src/main/assets/modules/scroll.js @@ -18,13 +18,13 @@ weatherWrap.addEventListener('scroll', function() { mainWeat.style.opacity = newOpacity; document.querySelector('.froggie').style.opacity = newOpacity; - if(scrollPosition > 100){ - document.querySelector('.header-top').classList.add('use'); + if(scrollPosition > 100){ + document.querySelector('.header-top').classList.add('use'); - } else{ - document.querySelector('.header-top').classList.remove('use'); + } else{ + document.querySelector('.header-top').classList.remove('use'); - } + } ticking = false; }); ticking = true;