Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix for #306 StartDraggingFloatingWindow #367

Merged
merged 2 commits into from
Jul 16, 2022
Merged

Conversation

Muhahe
Copy link
Contributor

@Muhahe Muhahe commented Jun 28, 2022

Some time ago, i created an issue #306 where i mentions that method StartDraggingFloatingWindow do not sync mouse position with newly created window.

After some attempts i found out, that when i add CaptureMouse() to methods OnMouseLeftButtonDown (LayoutDocumentTabItem.cs) and AttachDrag (LayoutFloatingWindowControls.cs) it solves my issue

Mouse needs to be captured at the start, to listen mouse move events before document IsActive is set.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants