Change fullScreen toggle to F10
because Mac OS X default might overwrite F11 and F12 behaviors
This commit is contained in:
parent
b1187a2014
commit
0bb3e53d58
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
var defaultTextHeight = 20;
|
var defaultTextHeight = 20;
|
||||||
var viewportMargin = 20;
|
var viewportMargin = 20;
|
||||||
var defaultExtraKeys = {
|
var defaultExtraKeys = {
|
||||||
"F11": function(cm) {
|
"F10": function (cm) {
|
||||||
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
||||||
},
|
},
|
||||||
"Esc": function(cm) {
|
"Esc": function(cm) {
|
||||||
|
|
Loading…
Reference in a new issue