Compare commits

...

3 Commits

Author SHA1 Message Date
Matt Walsh
ccd4ffa48c 5.9.11 2023-08-14 21:32:08 -05:00
Matt Walsh
2c9e15bed0 fix full screen vertical and radar 2023-08-14 21:31:58 -05:00
Matt Walsh
2c31484e99 capture dist 2023-06-28 10:23:22 -05:00
9 changed files with 10 additions and 10 deletions

2
dist/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "ws4kp",
"version": "5.9.10",
"version": "5.9.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ws4kp",
"version": "5.9.10",
"version": "5.9.11",
"license": "MIT",
"devDependencies": {
"del": "^6.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "ws4kp",
"version": "5.9.10",
"version": "5.9.11",
"description": "Welcome to the WeatherStar 4000+ project page!",
"main": "index.js",
"scripts": {

View File

@@ -216,7 +216,7 @@ class Radar extends WeatherDisplay {
// get image offset calculation
// is slides slightly because of scaling so we have to take a measurement from the rendered page
const actualFrameHeight = this.elem.querySelector('.frame').getBoundingClientRect().height;
const actualFrameHeight = this.elem.querySelector('.frame').scrollHeight;
// scroll to image
this.elem.querySelector('.scroll-area').style.top = `${-this.screenIndex * actualFrameHeight}px`;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -283,7 +283,7 @@ body {
position: relative;
width: 640px;
height: 480px;
overflow: hidden;
// overflow: hidden;
background-image: url(../images/BackGround1_1.png);
transform-origin: 0 0;

View File

@@ -115,7 +115,7 @@
<div id="radar-html" class="weather-display">
<%- include('partials/radar.ejs') %>
</div>
<div id="hazards-html" class="weather-display show">
<div id="hazards-html" class="weather-display">
<%- include('partials/hazards.ejs') %>
</div>
</div>