mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use property instead of non-existent method in OverlayManager
This commit is contained in:
@@ -34,7 +34,7 @@ class OverlayManager
|
||||
left -= itemWidth
|
||||
|
||||
top = pixelPosition.top + presenter.lineHeight
|
||||
if top + itemHeight - scrollTop > presenter.computeHeight() and top - itemHeight - presenter.lineHeight >= scrollTop
|
||||
if top + itemHeight - scrollTop > presenter.height and top - itemHeight - presenter.lineHeight >= scrollTop
|
||||
top -= itemHeight + presenter.lineHeight
|
||||
|
||||
overlayNode.style.top = top + 'px'
|
||||
|
||||
Reference in New Issue
Block a user