add jump-to-slide to help overlay, style tweaks

This commit is contained in:
hakimel
2023-01-16 12:33:37 +01:00
parent d146c1ddc1
commit 79e9fdf13f
8 changed files with 17 additions and 8 deletions

View File

@ -55,6 +55,9 @@ export default class JumpToSlide {
}
/**
* Parses the current input and jumps to the given slide.
*/
jump() {
const value = this.jumpInput.value.trim( '' );

View File

@ -43,6 +43,7 @@ export default class Keyboard {
this.shortcuts['Shift + ←/&#8593/→/↓'] = 'Jump to first/last slide';
this.shortcuts['B , .'] = 'Pause';
this.shortcuts['F'] = 'Fullscreen';
this.shortcuts['G'] = 'Jump to slide';
this.shortcuts['ESC, O'] = 'Slide overview';
}