fix last slide shortcut in looped presentations #3007
parent
5f22d6c3da
commit
2aed592d1f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -296,7 +296,7 @@ export default class Keyboard {
|
||||||
// L, RIGHT
|
// L, RIGHT
|
||||||
else if( keyCode === 76 || keyCode === 39 ) {
|
else if( keyCode === 76 || keyCode === 39 ) {
|
||||||
if( event.shiftKey ) {
|
if( event.shiftKey ) {
|
||||||
this.Reveal.slide( Number.MAX_VALUE );
|
this.Reveal.slide( this.Reveal.getHorizontalSlides().length - 1 );
|
||||||
}
|
}
|
||||||
else if( !this.Reveal.overview.isActive() && useLinearMode ) {
|
else if( !this.Reveal.overview.isActive() && useLinearMode ) {
|
||||||
this.Reveal.next({skipFragments: event.altKey});
|
this.Reveal.next({skipFragments: event.altKey});
|
||||||
|
@ -335,7 +335,7 @@ export default class Keyboard {
|
||||||
}
|
}
|
||||||
// END
|
// END
|
||||||
else if( keyCode === 35 ) {
|
else if( keyCode === 35 ) {
|
||||||
this.Reveal.slide( Number.MAX_VALUE );
|
this.Reveal.slide( this.Reveal.getHorizontalSlides().length - 1 );
|
||||||
}
|
}
|
||||||
// SPACE
|
// SPACE
|
||||||
else if( keyCode === 32 ) {
|
else if( keyCode === 32 ) {
|
||||||
|
|
Loading…
Reference in New Issue