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

Desktop: Fixes #3628: Add scroll offset for dragging notes while scrolled down #3643

Closed
wants to merge 3 commits into from

Conversation

DarinDev1000
Copy link

@DarinDev1000 DarinDev1000 commented Aug 17, 2020

The note dragging was not taking into account the scroll distance.
This caused the notes to be dragged to a different location than the mouse.
This scroll offset should fix that issue.

DarinDev1000 and others added 3 commits August 17, 2020 13:50
…hile scrolled down

The note draging was not taking into account the scroll distance.
This caused the notes to be dragged to a different location than the mouse.
This scroll offset should fix that issue.
@laurent22
Copy link
Owner

Thanks for the fix, that looks good. Unfortunately I've refactored the NoteList component in the coming UI update, so I prefer to wait till this is ready before merging your pull request, as it will be easier to fix the conflict at that time.

@DarinDev1000
Copy link
Author

@laurent22 Do you want me to try to fix it in the ui-update branch instead of here?

@laurent22
Copy link
Owner

Do you want me to try to fix it in the ui-update branch instead of here?

If you could do that, that would be perfect. I assume it's a matter of copying your fix to the new .tsx component.

@DarinDev1000
Copy link
Author

I created another pull request for the ui_update branch.

@laurent22
Copy link
Owner

Closing in favour of #3651

@laurent22 laurent22 closed this Sep 4, 2020
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