mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-23 03:59:30 -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;
|
const actualFrameHeight = this.elem.querySelector('.frame').scrollHeight;
|
||||||
|
|
||||||
// scroll to image
|
// 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();
|
this.finishDraw();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user