'controls-placement' -> 'controls-layout', cut back on controls spacing
This commit is contained in:
parent
10545d41cc
commit
44a355b6e9
3 changed files with 54 additions and 54 deletions
|
@ -53,7 +53,7 @@
|
|||
controls: true,
|
||||
|
||||
// Determines where controls appear, "edges" or "bottom-right"
|
||||
controlsPlacement: 'bottom-right',
|
||||
controlsLayout: 'bottom-right',
|
||||
|
||||
// Specifies the display rules for backwards navigation arrows;
|
||||
// "deemphasized", "hidden" or "visible"
|
||||
|
@ -1005,7 +1005,7 @@
|
|||
dom.controls.style.display = config.controls ? 'block' : 'none';
|
||||
dom.progress.style.display = config.progress ? 'block' : 'none';
|
||||
|
||||
dom.controls.setAttribute( 'data-controls-placement', config.controlsPlacement );
|
||||
dom.controls.setAttribute( 'data-controls-layout', config.controlsLayout );
|
||||
dom.controls.setAttribute( 'data-controls-back-arrows', config.controlsBackArrows );
|
||||
|
||||
if( config.shuffle ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue