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

fix #6501, fix moving layer to it's current location #6542

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Conversation

ansis
Copy link
Contributor

@ansis ansis commented Apr 19, 2018

Fixes #6501 by doing nothing when the moved layer's id is the same as the layer to insert it before.

While moving a layer to before itself is a bit weird, it doesn't seem wrong enough to fail with an error.

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • [N/A] document any changes to public APIs
  • [N/A] post benchmark scores
  • [N/A] manually test the debug page

@ansis ansis requested a review from anandthakker April 19, 2018 17:11
@ansis ansis merged commit b0ba8bd into master Apr 19, 2018
@ansis ansis deleted the fix-6501 branch April 19, 2018 18:22
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