1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-30 19:30:22 +02:00

add slidenumber & location controllers

This commit is contained in:
Hakim El Hattab
2020-03-10 21:08:11 +01:00
parent ac15678dea
commit 3683ad255d
6 changed files with 240 additions and 184 deletions

View File

@@ -263,7 +263,7 @@ export default class Keyboard {
}
// N, PAGE DOWN
else if( keyCode === 78 || keyCode === 34 ) {
this.Review.next();
this.Reveal.next();
}
// H, LEFT
else if( keyCode === 72 || keyCode === 37 ) {
@@ -283,7 +283,7 @@ export default class Keyboard {
this.Reveal.slide( Number.MAX_VALUE );
}
else if( !this.Reveal.overview.isActive() && useLinearMode ) {
this.Review.next();
this.Reveal.next();
}
else {
this.Reveal.right();
@@ -301,7 +301,7 @@ export default class Keyboard {
// J, DOWN
else if( keyCode === 74 || keyCode === 40 ) {
if( !this.Reveal.overview.isActive() && useLinearMode ) {
this.Review.next();
this.Reveal.next();
}
else {
this.Reveal.down();
@@ -324,7 +324,7 @@ export default class Keyboard {
this.Reveal.prev();
}
else {
this.Review.next();
this.Reveal.next();
}
}
// TWO-SPOT, SEMICOLON, B, V, PERIOD, LOGITECH PRESENTER TOOLS "BLACK SCREEN" BUTTON