Partially fixed device movement when zoomed in

This commit is contained in:
SpoinkyNL committed 2019-10-19 14:07:24 +02:00
1 parent 76833a7bce
commit ad8e8288bd
2 files changed
+11 -10

No files matched your search

@@ -199,8 +199,9 @@ namespace Artemis.UI.ViewModels.Screens
}
var position = e.GetPosition((IInputElement) sender);
var relative = e.GetPosition(((Grid)sender).Children[0]);
if (_mouseDragStatus == MouseDragStatus.Dragging)
MoveSelected(position);
MoveSelected(relative);
else if (_mouseDragStatus == MouseDragStatus.Selecting)
UpdateSelection(position);
}