@fluxhub/fluxhub-lib 10.0.466 → 10.0.467
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/bundles/fluxhub-fluxhub-lib.umd.js +5 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhtimepicker.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +5 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3568,7 +3568,9 @@
|
|
|
3568
3568
|
if (this.m > 59) {
|
|
3569
3569
|
this.m = 59;
|
|
3570
3570
|
}
|
|
3571
|
-
this.m =
|
|
3571
|
+
this.m = Math.round(this.m / this.step) * this.step;
|
|
3572
|
+
if (this.m == 60)
|
|
3573
|
+
this.m = 60 - this.step;
|
|
3572
3574
|
this.sc();
|
|
3573
3575
|
};
|
|
3574
3576
|
FHTimePickerComponent.prototype.onKeyDown = function (event) {
|
|
@@ -3626,6 +3628,8 @@
|
|
|
3626
3628
|
var a = desc_val.split(":");
|
|
3627
3629
|
this.h = parseInt(a[0]);
|
|
3628
3630
|
this.m = Math.round(parseInt(a[1]) / this.step) * this.step;
|
|
3631
|
+
if (this.m == 60)
|
|
3632
|
+
this.m = 60 - this.step;
|
|
3629
3633
|
if (desc_val.length != 5) {
|
|
3630
3634
|
this.onChange(this.getValue());
|
|
3631
3635
|
}
|