mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
radar scrolling fix for ios
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user