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

Weird behavior of Drag Adorner when dragging to window border #116

Closed
nimnes opened this issue Nov 12, 2014 · 0 comments
Closed

Weird behavior of Drag Adorner when dragging to window border #116

nimnes opened this issue Nov 12, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@nimnes
Copy link

nimnes commented Nov 12, 2014

Steps to reproduce

  1. Use test XAML instead of Window.xaml in DefaultsExample project in gong-wpf-dragdrop repo.
  2. Drag item to left window border (first pixel after window border actually).

Drag Adorner will moving up continuously screenshot.

Possible way to fix:
change DragDrop.cs

line 791    if (tempAdornerPos.X > 0 && tempAdornerPos.Y > 0) {

to

line 791    if (tempAdornerPos.X >= 0 && tempAdornerPos.Y >= 0) {
@punker76 punker76 added this to the v0.1.4.4 milestone Nov 15, 2014
@punker76 punker76 self-assigned this Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants