mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Make LinesComponent a normal object instead of a React component
Also, remove ability to disable hardware acceleration since there’s no longer a need for it and it complicated this conversion.
This commit is contained in:
@@ -3,9 +3,7 @@ class OverlayManager
|
||||
constructor: (@container) ->
|
||||
@overlayNodesById = {}
|
||||
|
||||
render: (props) ->
|
||||
{presenter} = props
|
||||
|
||||
render: (presenter) ->
|
||||
for decorationId, {pixelPosition, item} of presenter.state.content.overlays
|
||||
@renderOverlay(presenter, decorationId, item, pixelPosition)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user