zzz-pc-view 0.0.35 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.es.js +1 -1
- package/src/index.umd.js +1 -1
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -1005,7 +1005,7 @@ class ZDate extends Date {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
const lastResultsIndex = results.length - 1;
|
|
1007
1007
|
const lastResult = results[lastResultsIndex];
|
|
1008
|
-
if (
|
|
1008
|
+
if (duration / timeConfigs[lastTimeConfigsIndex].step > diff) {
|
|
1009
1009
|
lastResult[0] = Math.ceil(lastResult[0]);
|
|
1010
1010
|
if (lastResult[0] > lastResult[1].max) {
|
|
1011
1011
|
lastResult[0] = 0;
|