client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs
equal
deleted
inserted
replaced
140 |
140 |
141 void LeftClickOnElement_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
141 void LeftClickOnElement_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
142 { |
142 { |
143 TimeSpan TimeToGo = (TimeSpan)e.Parameter; |
143 TimeSpan TimeToGo = (TimeSpan)e.Parameter; |
144 PolemicElementVM ClickedElement = (PolemicElementVM)e.Source; |
144 PolemicElementVM ClickedElement = (PolemicElementVM)e.Source; |
|
145 |
145 if(ConsultationBookViewContextMenu.SelectedBook == ClickedElement.Chapter.Book) |
146 if(ConsultationBookViewContextMenu.SelectedBook == ClickedElement.Chapter.Book) |
146 { |
147 { |
147 ConsultationBookViewContextMenu.ActualVideoSourceVM.GoTo(TimeToGo); |
148 ConsultationBookViewContextMenu.ActualVideoSourceVM.GoTo(TimeToGo); |
|
149 SelectedVideoBooks[SelectedVideoBookIndex].Position = TimeToGo.TotalMilliseconds; |
|
150 ConsultationBookViewContextMenu.UpdateAnnotation(); |
148 } |
151 } |
149 } |
152 } |
150 |
153 |
151 void NewAnnotationFinished_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
154 void NewAnnotationFinished_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
152 { |
155 { |