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:
Nathan Sobo
2015-02-10 17:33:48 -07:00
parent da793e834a
commit c06e100fae
8 changed files with 54 additions and 106 deletions

View File

@@ -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)