mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-22 02:04:29 -08:00
fixed bug?
This commit is contained in:
parent
6c15c9edaf
commit
bdec10fde3
1 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ Module.register('MMM-pages', {
|
||||||
excludes: ['MMM-page-indicator'],
|
excludes: ['MMM-page-indicator'],
|
||||||
animationTime: 1000,
|
animationTime: 1000,
|
||||||
rotationTime: 0,
|
rotationTime: 0,
|
||||||
rotationDelay: 10000,
|
rotationDelay: 10000
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -109,7 +109,7 @@ Module.register('MMM-pages', {
|
||||||
.enumerate((module) => {
|
.enumerate((module) => {
|
||||||
module.hide(
|
module.hide(
|
||||||
self.config.animationTime / 2,
|
self.config.animationTime / 2,
|
||||||
{ lockString: self.identifier },
|
{ lockString: self.identifier }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ Module.register('MMM-pages', {
|
||||||
.enumerate((module) => {
|
.enumerate((module) => {
|
||||||
module.show(
|
module.show(
|
||||||
self.config.animationTime / 2,
|
self.config.animationTime / 2,
|
||||||
{ lockString: self.identifier },
|
{ lockString: self.identifier }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}, this.config.animationTime / 2);
|
}, this.config.animationTime / 2);
|
||||||
|
@ -135,7 +135,7 @@ Module.register('MMM-pages', {
|
||||||
// Incrementing page
|
// Incrementing page
|
||||||
self.curPage = self.mod(
|
self.curPage = self.mod(
|
||||||
self.curPage + 1,
|
self.curPage + 1,
|
||||||
self.config.modules.length,
|
self.config.modules.length
|
||||||
);
|
);
|
||||||
self.sendNotification('PAGE_INCREMENT');
|
self.sendNotification('PAGE_INCREMENT');
|
||||||
self.updatePages(false);
|
self.updatePages(false);
|
||||||
|
|
Loading…
Reference in a new issue