pane:enlarge/shrink -> pane:increase-size/decrease-size

This commit is contained in:
Kevin Sawicki 2015-08-12 17:31:23 -07:00
parent ccccc9657c
commit 388d716028
2 changed files with 4 additions and 4 deletions

View File

@ -182,8 +182,8 @@
'cmd-k cmd-9': 'editor:fold-at-indent-level-9'
'atom-workspace atom-pane':
'cmd-alt-=': 'pane:enlarge'
'cmd-alt--': 'pane:shrink'
'cmd-alt-=': 'pane:increase-size'
'cmd-alt--': 'pane:decrease-size'
# allow standard input fields to work correctly
'body .native-key-bindings':

View File

@ -158,7 +158,7 @@ atom.commands.add 'atom-pane',
'pane:split-down': -> @getModel().splitDown(copyActiveItem: true)
'pane:close': -> @getModel().close()
'pane:close-other-items': -> @getModel().destroyInactiveItems()
'pane:enlarge': -> @getModel().setFlexScale(@getModel().getFlexScale() * 1.1)
'pane:shrink': -> @getModel().setFlexScale(@getModel().getFlexScale() / 1.1)
'pane:increase-size': -> @getModel().setFlexScale(@getModel().getFlexScale() * 1.1)
'pane:decrease-size': -> @getModel().setFlexScale(@getModel().getFlexScale() / 1.1)
module.exports = PaneElement = document.registerElement 'atom-pane', prototype: PaneElement.prototype