mirror of
https://github.com/atom/atom.git
synced 2026-02-10 06:35:00 -05:00
Native open code now presents the open panel from the browser process
This avoids retina resolution issues and ink framework errors that occur when opening dialogs from the chromium renderer process.
This commit is contained in:
@@ -21,9 +21,7 @@ class Keymap
|
||||
|
||||
$(document).on 'new-window', => $native.newWindow()
|
||||
$(document).on 'open-user-configuration', => atom.open(atom.configFilePath)
|
||||
$(document).on 'open', =>
|
||||
path = $native.openDialog()
|
||||
atom.open(path) if path
|
||||
$(document).on 'open', => atom.open()
|
||||
|
||||
bindKeys: (selector, bindings) ->
|
||||
index = @bindingSets.length
|
||||
|
||||
Reference in New Issue
Block a user