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 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.
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.

None yet

2 participants