Remove a redundant comment

This commit is contained in:
Aljaž Grilc 2024-05-24 16:52:58 +02:00
parent 159cd51684
commit 7cf139ddaa

View File

@ -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`
}