radar scrolling fix for ios

This commit is contained in:
Matt Walsh
2025-06-27 22:16:51 -05:00
parent 8a2907e02c
commit 3d0178faa1

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();
}