Stop mouseDown event from propagating.

Closes #2459
This commit is contained in:
probablycorey
2014-06-05 17:22:12 -07:00
parent 8f5018f925
commit b0ddab842b

View File

@@ -462,6 +462,8 @@ EditorComponent = React.createClass
when 3 then editor.selectLine()
@selectToMousePositionUntilMouseUp(event)
e.preventDefault();
e.stopPropagation();
onStylesheetsChanged: (stylesheet) ->
@refreshScrollbars() if @containsScrollbarSelector(stylesheet)