egui_extras: Add more years for datepicker (#3599)

Birthdates really needed this

Kinda closes
[<https://github.com/emilk/egui/issues/3597>](https://github.com/emilk/egui/issues/3597).
This commit is contained in:
Vaqxai 2023-11-28 14:50:19 +01:00 committed by GitHub
parent a1f3c71b7f
commit 37244e3632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ impl<'a> DatePickerPopup<'a> {
ComboBox::from_id_source("date_picker_year")
.selected_text(popup_state.year.to_string())
.show_ui(ui, |ui| {
for year in today.year() - 5..today.year() + 10 {
for year in today.year() - 100..today.year() + 10 {
if ui
.selectable_value(
&mut popup_state.year,