Fix rotationDelay impacting page change

This commit is contained in:
Fifteen 15 Studios 2021-12-09 20:10:47 -05:00 committed by GitHub
parent ea93426f9e
commit fbfcc8e799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,7 @@ Module.register('MMM-pages', {
if (this.config.modules.length !== 0) {
this.animatePageChange();
if (!this.rotationPaused) {
this.resetTimerWithDelay(this.config.rotationDelay);
this.resetTimerWithDelay(0);
}
this.sendNotification('NEW_PAGE', this.curPage);
} else { Log.error("[Pages]: Pages aren't properly defined!"); }