Check for e.ctrlKey instead of e.metaKey if not on Mac.

This commit is contained in:
Flannelhead
2014-05-15 10:09:50 +03:00
parent 333c5b66d1
commit 534704a32c

View File

@@ -387,7 +387,7 @@ class EditorView extends View
screenPosition = @screenPositionFromMouseEvent(e)
if clickCount == 1
if e.metaKey
if e.metaKey or (process.platform isnt 'darwin' and e.ctrlKey)
@editor.addCursorAtScreenPosition(screenPosition)
else if e.shiftKey
@editor.selectToScreenPosition(screenPosition)