-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix when changing between 2 custom overlays #566
base: modified
Are you sure you want to change the base?
Conversation
I would rather have minor issues in SCEE than larger deviation from SC, because SC code changes frequently and merging can be quite time consuming. So if possible, try to keep code that is the same as SC stable, and do the changes is SCEE-only code sections. (I did not check, because SC merge created merge conflicts already) Btw I guess this change will be gone anyway when the involved parts are changed to compose. |
I'll see if it's still there with the new SC code. |
I had another short look, and I think it would be best to wait until main screen UI is re-done in compose. |
Don't worry, you want me to create a label for the PR we're blocking? Like an "on hold" label? |
Good idea, I added a label. |
@Helium314 Hi, I'm back from holiday and back to work. |
Sorry for the late reply. I would like to wait until streetcomplete#5799 is implemented. |
The main UI is now in compose, including the overlay dropdown. Looks like icon now changes when switching between custom overlays. |
I noticed that when I changed the overlay between 2 customs the icon didn't update.
There was even the beginnings of a fix in the code, but that doesn't change anything because it wasn't a view refresh problem.
This is due to the fact that the reference was not changed because there is only one instance in the OverlayRegistry.
I hope it won't be a problem during the rebases with SC