@@ -229,9 +229,9 @@ export class DatePicker extends WithDisposable(LitElement) {
|
|||||||
|
|
||||||
private _modeDecade(offset: number) {
|
private _modeDecade(offset: number) {
|
||||||
this._yearCursor = clamp(
|
this._yearCursor = clamp(
|
||||||
|
this._yearCursor + offset,
|
||||||
this._minYear,
|
this._minYear,
|
||||||
this._maxYear,
|
this._maxYear
|
||||||
this._yearCursor + offset
|
|
||||||
);
|
);
|
||||||
this._getYearMatrix();
|
this._getYearMatrix();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user