default to bottom right controls, rename soften arrows option
This commit is contained in:
parent
4fb8e78eb4
commit
e45a425575
3 changed files with 20 additions and 14 deletions
|
@ -53,10 +53,10 @@
|
|||
controls: true,
|
||||
|
||||
// Determines where controls appear, "edges" or "bottom-right"
|
||||
controlsPlacement: 'edges',
|
||||
controlsPlacement: 'bottom-right',
|
||||
|
||||
// De-emphasizes backwards navigation controls
|
||||
controlsSoftenBackArrows: true,
|
||||
controlsDeemphasizeBackArrows: true,
|
||||
|
||||
// Display a presentation progress bar
|
||||
progress: true,
|
||||
|
@ -1005,7 +1005,7 @@
|
|||
dom.progress.style.display = config.progress ? 'block' : 'none';
|
||||
|
||||
dom.controls.setAttribute( 'data-controls-placement', config.controlsPlacement );
|
||||
dom.controls.classList.toggle( 'soften-back-arrows', config.controlsSoftenBackArrows );
|
||||
dom.controls.classList.toggle( 'deemphasize-back-arrows', config.controlsDeemphasizeBackArrows );
|
||||
|
||||
if( config.shuffle ) {
|
||||
shuffle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue