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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
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 (lastResult[0] > diff) {
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;