mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-23 22:55:29 +03:00
pane:enlarge/shrink -> pane:increase-size/decrease-size
This commit is contained in:
parent
ccccc9657c
commit
388d716028
@ -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':
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user