protected $_enableTrackNonDefaultValues = true;
- protected $_enableRevisionsButton=false;
- protected $_enableRevisions=true;
+ protected $_enableRevisionsButton = false;
+ protected $_enableRevisions = true;
public static $updateWS2ViewOnChange = true;
public static $updateWS2SyncViewOnChange = false;
'allows_alpha' => false,
'translatable' => false,
]);
+ $this->addField([
+ 'name' => 'slideshowColor',
+ 'type' => 'Color',
+ 'label' => __('Couleur d\'accentuation des slideshows'),
+ 'default' => '',
+ 'allows_empty' => '',
+ 'allows_alpha' => true,
+ 'translatable' => false,
+ ]);
$this->addField([
'name' => 'videoBackgroundColor',
'type' => 'Color',
await page.goto(options.url, {waitUntil: 'networkidle2'});
await page.screenshot({path: options.destloader, type: 'jpeg', quality: 95});
- await new Promise(r => setTimeout(r, 1000 * (options.delay - 1)));
+ await new Promise(r => setTimeout(r, 1000 * options.delay));
// Show slider and thumbs
await page.evaluate(() => fluidbook.slider.hover(512));