radar scrolling fix for ios

This commit is contained in:
Matt Walsh 2025-06-27 22:16:51 -05:00
commit 3d0178faa1
No known key found for this signature in database

View file

@ -195,7 +195,7 @@ class Radar extends WeatherDisplay {
const actualFrameHeight = this.elem.querySelector('.frame').scrollHeight;
// scroll to image
this.elem.querySelector('.scroll-area').style.top = `${-this.screenIndex * actualFrameHeight} px`;
this.elem.querySelector('.scroll-area').style.top = `${-this.screenIndex * actualFrameHeight}px`;
this.finishDraw();
}