-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
Cancel animations on map controller move events #1043
Conversation
@Robbendebiene - Can you fix the analyze issue? |
@kengu Sorry, I've missed that. Now everything should be correctly formatted and annotated. |
Can someone please review this? |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
I still like to land this PR. |
Can someone review this? |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
@johnpryan or @kengu can you please review this. |
Is this repository abandoned? |
Sorry about all of the delay, there's a bit more action now. There's been some changes since, but if you can pull upstream when possible, then we'll see if we can get it tested and merged! |
@b3nni97 No! There have been some developments recently after a quiet period, hopefully it doesn't happen again. |
@ibrierley and @JaffaKetchup I've just pulled upstream. |
Ok, thanks. Just needs to be reviewed before merge. I can't check it over for another 8 hours or so (I'm currently on mobile), but maybe another maintainer can! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing seems good. I note on the mapController page it now takes you to the correct location if mid fling and a different location selected, so happy with that.Thanks!
Happy to merge this, but not sure if you wanted to do any testing first @JaffaKetchup |
No it's ok, I trust your judgement. Please do merge! (If possible, use a Squash and Merge, but it doesn't matter too much) |
Ah sorry missed your last comment. |
Nah no problem! It was only 2 commits anyway. I just prefer squashing for PRs with lots of commits: it keeps the main branch tidy. |
Yep, makes sense. |
are you using the latest version from Git (not the one from pub.dev ?) |
@ibrierley I'm using the one on pub.dev ( flutter_map: ^0.14.0 ) |
Ok, it may be worth trying the Git version for you then. I think that may have been fixed, but there could be circumstances where it isn't still (or I'm remembering wrong!). |
@ibrierley need to do more intensive tests, but looks like it fixies the bug! |
We currently have no estimation, as it's a bit complicated, but something
we are exploring.
…On Mon, May 9, 2022 at 10:17 PM alan_langlois ***@***.***> wrote:
@ibrierley <https://github.com/ibrierley> need to do more intensive
tests, but looks like it fixies the bug!
When do you plan to land the next version including this fix?
—
Reply to this email directly, view it on GitHub
<#1043 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5YN5MIENRDIQBNCQUPQLTVJF6F5ANCNFSM5E7QEY5A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please see #1188 for more information about publishing to pub.dev. As @ibrierley said, there is currently no estimate. |
This fixes #946
Fling and double tap animations are already cancelled in multiple scenarios (like panning the map). This PR also cancels the animations whenever the
MapController
moves the camera. This is done to prevent interferences with animated camera moves.