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

Use map tiles dark mode from leaflet-osm plugin #5426

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hlfan
Copy link
Contributor

@hlfan hlfan commented Dec 20, 2024

A version between #5396 and #5397 using the updated version of leaflet-osm without requiring it.
Also removing some ifs that always evaluate true and removed the dependency on the .key-ui.

@hlfan
Copy link
Contributor Author

hlfan commented Dec 20, 2024

Huh, no linting support for the optional chaining operator?

I may have gotten a bit overexcited by #5421.

Copy link
Member

@tomhughes tomhughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the lint warning? Then we can get this merged!

@hlfan hlfan requested a review from tomhughes December 22, 2024 17:51
@hlfan
Copy link
Contributor Author

hlfan commented Dec 22, 2024

Since the line with the not (yet) supported optional chaining is only to make the updates work without the UI panes (like in the tests) anyway, the complexity of that predicate can be reduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants