toggle instead of always showing the help overlay when ? is pressed
This commit is contained in:
parent
3a6172e67d
commit
f5ac0b35d1
1 changed files with 6 additions and 1 deletions
|
@ -3297,7 +3297,12 @@
|
||||||
|
|
||||||
// Check if the pressed key is question mark
|
// Check if the pressed key is question mark
|
||||||
if( event.shiftKey && event.charCode === 63 ) {
|
if( event.shiftKey && event.charCode === 63 ) {
|
||||||
showHelp();
|
if( dom.overlay ) {
|
||||||
|
closeOverlay();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
showHelp( true );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue