Fixed hotkeys for changing font size (Fixes #1914)
Hotkey for `increaseFontSize` does not work, `+` key should actually be `=`.
This commit is contained in:
parent
3b76a2ebef
commit
156ebc0a72
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ env.editor.commands.addCommands([{
|
|||
}
|
||||
}, {
|
||||
name: "increaseFontSize",
|
||||
bindKey: "Ctrl-+",
|
||||
bindKey: "Ctrl-=",
|
||||
exec: function(editor) {
|
||||
var size = parseInt(editor.getFontSize(), 10) || 12;
|
||||
editor.setFontSize(size + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue