equal
deleted
inserted
replaced
55 { |
55 { |
56 DataContext = findSource.DataContext |
56 DataContext = findSource.DataContext |
57 } |
57 } |
58 }; |
58 }; |
59 |
59 |
60 // TO DO : apply the good scale to the TAV because the dragged one has scale at 1. |
60 // We apply the current scale to the dragged annotation |
61 |
61 ((TimelineAnnotationView)cursorVisual.Content).RenderTransform = this.RenderTransform; |
62 |
62 |
63 // Add a handler. This will enable the application to change the visual cues. |
63 // Add a handler. This will enable the application to change the visual cues. |
64 //SurfaceDragDrop.AddTargetChangedHandler(cursorVisual, OnTargetChanged); |
64 //SurfaceDragDrop.AddTargetChangedHandler(cursorVisual, OnTargetChanged); |
65 |
65 |
66 // Create a list of input devices. Add the contacts that |
66 // Create a list of input devices. Add the contacts that |
93 // and causes the drag operation to fail. |
93 // and causes the drag operation to fail. |
94 e.Handled = startDragOkay; |
94 e.Handled = startDragOkay; |
95 |
95 |
96 } |
96 } |
97 |
97 |
98 |
|
99 } |
98 } |
100 } |
99 } |