Fixed hotkeys for changing font size (Fixes #1914)

Hotkey for `increaseFontSize` does not work, `+` key should actually be
`=`.
This commit is contained in:
jimmyboh 2014-04-17 13:09:13 -04:00
commit 156ebc0a72

View file

@ -184,7 +184,7 @@ env.editor.commands.addCommands([{
} }
}, { }, {
name: "increaseFontSize", name: "increaseFontSize",
bindKey: "Ctrl-+", bindKey: "Ctrl-=",
exec: function(editor) { exec: function(editor) {
var size = parseInt(editor.getFontSize(), 10) || 12; var size = parseInt(editor.getFontSize(), 10) || 12;
editor.setFontSize(size + 1); editor.setFontSize(size + 1);