radar scrolling fix for ios
This commit is contained in:
parent
8a2907e02c
commit
3d0178faa1
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue