fix(editor): date picker in year (#13948)

fix #13582
This commit is contained in:
DarkSky
2025-11-15 16:56:24 +08:00
committed by GitHub
parent f644454c5c
commit beb09300b9
@@ -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();
}