mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Implement shouldComponentUpdate for SelectionsComponent
This commit is contained in:
committed by
Nathan Sobo
parent
7dfe829fc8
commit
3f01e2f748
@@ -22,7 +22,7 @@ LinesComponent = React.createClass
|
||||
WebkitTransform: "translate3d(#{-scrollLeft}px, #{-scrollTop}px, 0px)"
|
||||
|
||||
div {className: 'lines', style},
|
||||
SelectionsComponent({editor, lineHeight}) if @isMounted
|
||||
SelectionsComponent({editor, lineHeight}) if @isMounted()
|
||||
|
||||
componentWillMount: ->
|
||||
@measuredLines = new WeakSet
|
||||
|
||||
Reference in New Issue
Block a user