Added call to scrollHandler in scrollbuttons callback function
This commit is contained in:
parent
0d58d9ed89
commit
a837dd335f
2 changed files with 5 additions and 0 deletions
|
|
@ -104,6 +104,7 @@
|
|||
- [qm3jp](https://github.com/qm3jp)
|
||||
- [johnnyg](https://github.com/johnnyg)
|
||||
- [lmaotrigine](https://github.com/lmaotrigine)
|
||||
- [bjorntp](https://github.com/bjorntp)
|
||||
|
||||
## Emby Contributors
|
||||
|
||||
|
|
|
|||
|
|
@ -162,6 +162,10 @@ EmbyScrollButtonsPrototype.attachedCallback = function () {
|
|||
capture: false,
|
||||
passive: true
|
||||
});
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
this.scrollHandler();
|
||||
});
|
||||
};
|
||||
|
||||
EmbyScrollButtonsPrototype.detachedCallback = function () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue