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