mirror of
https://github.com/atom/atom.git
synced 2026-01-29 00:38:11 -05:00
🔥 Avoid mounting the container in ctor
...as it will be mounted anyways when updateSync gets called
This commit is contained in:
@@ -70,8 +70,6 @@ class TextEditorComponent
|
||||
@scrollViewNode.classList.add('scroll-view')
|
||||
@domNode.appendChild(@scrollViewNode)
|
||||
|
||||
@mountGutterContainerComponent() if @presenter.getState().gutters.length
|
||||
|
||||
@hiddenInputComponent = new InputComponent
|
||||
@scrollViewNode.appendChild(@hiddenInputComponent.getDomNode())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user