fix(player): main-version codefix

This commit is contained in:
Alex Kaminskii 2022-05-25 15:53:19 +02:00
parent 1842248ce3
commit a113416ec7

View file

@ -311,7 +311,7 @@ export default class DOMManager extends ListWalker<Message> {
return this.stylesManager.moveReady(t).then(() => {
// Apply all scrolls after the styles got applied
this.nodeScrollManagers.forEach(manager => {
const msg = manager.moveGetLast(t)
const msg = manager.moveToLast(t)
if (!!msg && !!this.nl[msg.id]) {
const node = this.nl[msg.id] as HTMLElement
node.scrollLeft = msg.x