equal
deleted
inserted
replaced
115 return Hand.NONE; |
115 return Hand.NONE; |
116 |
116 |
117 //On supprime l'historique local. |
117 //On supprime l'historique local. |
118 localHistory.Clear(); |
118 localHistory.Clear(); |
119 |
119 |
120 debug.ExceptionLbl.Background = System.Windows.Media.Brushes.White; |
|
121 //Si on est arrivé jusqu'ici, toutes les conditions pour un push ont été remplies. |
120 //Si on est arrivé jusqu'ici, toutes les conditions pour un push ont été remplies. |
122 |
121 |
123 if (leftHandOK && rightHandOK) |
122 if (leftHandOK && rightHandOK) |
124 return Hand.BOTH; |
123 return Hand.BOTH; |
125 else if (leftHandOK) |
124 else if (leftHandOK) |
203 return Hand.NONE; |
202 return Hand.NONE; |
204 |
203 |
205 //On supprime l'historique local. |
204 //On supprime l'historique local. |
206 localHistory.Clear(); |
205 localHistory.Clear(); |
207 |
206 |
208 debug.ExceptionLbl.Background = System.Windows.Media.Brushes.Black; |
|
209 |
|
210 //Si on est arrivé jusqu'ici, toutes les conditions pour un push ont été remplies. |
207 //Si on est arrivé jusqu'ici, toutes les conditions pour un push ont été remplies. |
211 if (leftHandOK && rightHandOK) |
208 if (leftHandOK && rightHandOK) |
212 return Hand.BOTH; |
209 return Hand.BOTH; |
213 else if (leftHandOK) |
210 else if (leftHandOK) |
214 return Hand.LEFT; |
211 return Hand.LEFT; |