Remove a redundant comment
This commit is contained in:
parent
159cd51684
commit
7cf139ddaa
@ -147,8 +147,6 @@ class BesService {
|
||||
onScroll() {
|
||||
// Scroll panel is "position: absolute", we need to keep it aligned with the host element.
|
||||
this.scrollPanel.style.top = `${-this.hostElement.scrollTop}px`
|
||||
|
||||
// Why do we need to set left to -scrollLeft? It destroys the position of highlights
|
||||
this.scrollPanel.style.left = `${-this.hostElement.scrollLeft}px`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user