Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to disable highlighting of weekend days in DatePickerPopup. #4151

Merged
merged 6 commits into from
Mar 21, 2024

Conversation

hiyosilver
Copy link
Contributor

I added a handfull of lines to allow for the red highlight on weekends in DatePickerPopup to be disabled.

I tried to follow the rules, but I've never done any kind of PR before, and I'm also not sure if this is at all the kind of thing that is wanted at the moment. If it is not, I'm happy to just have this removed. Just a tiny little addition I would find useful.

Added 'highlight_weekends' field and setter.
Added check for 'highlight_weekends' when drawing calendar.
Added 'highlight_weekends' to creation of popup struct.
@emilk
Copy link
Owner

emilk commented Mar 12, 2024

requires rustfmt

@hiyosilver
Copy link
Contributor Author

I thought I had done it properly, but I somehow managed to slip an extra space in there.
I believe that was the only issue and it should work now.

emilk and others added 2 commits March 20, 2024 14:03
Restored return expression in `highlight_weekends` that was removed by previous commit.
@emilk emilk merged commit 365d035 into emilk:master Mar 21, 2024
19 checks passed
@hiyosilver hiyosilver deleted the datepicker_weekend_highlighting branch March 22, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants