1 parent
f644454c5c
commit
beb09300b9
1 file changed
+2
-2
@@ -229,9 +229,9 @@ export class DatePicker extends WithDisposable(LitElement) {
|
||||
|
||||
private _modeDecade(offset: number) {
|
||||
this._yearCursor = clamp(
|
||||
this._yearCursor + offset,
|
||||
this._minYear,
|
||||
this._maxYear,
|
||||
this._yearCursor + offset
|
||||
this._maxYear
|
||||
);
|
||||
this._getYearMatrix();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user