Changeset 13763 for branches/HeuristicLab.Visualization
- Timestamp:
- 04/14/16 14:30:23 (9 years ago)
- Location:
- branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartControl.cs
r13762 r13763 229 229 if (e.KeyCode == shortcut.Key && e.Modifiers == shortcut.Modifiers) { 230 230 ActiveShortcut = shortcut; 231 shortcut.DownAction(); 231 var downAction = shortcut.DownAction; 232 if (downAction != null) downAction(); 232 233 break; 233 234 } … … 247 248 248 249 if (ActiveShortcut.Key == e.KeyCode || ActiveShortcut.GetModifiers().Except(modifiers).Any()) { 249 ActiveShortcut.UpAction(); 250 var upAction = ActiveShortcut.UpAction; 251 if (upAction != null) upAction(); 250 252 ActiveShortcut = null; 251 253 } -
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartMode.cs
r13762 r13763 86 86 if (e.KeyCode == shortcut.Key && e.Modifiers == shortcut.Modifiers) { 87 87 activeShortcut = shortcut; 88 shortcut.DownAction(); 88 var downAction = shortcut.DownAction; 89 if (downAction != null) downAction(); 89 90 break; 90 91 } … … 100 101 101 102 if (activeShortcut.Key == e.KeyCode || activeShortcut.GetModifiers().Except(modifiers).Any()) { 102 activeShortcut.UpAction(); 103 var upAction = activeShortcut.UpAction; 104 if (upAction != null) upAction(); 103 105 activeShortcut = null; 104 106 }
Note: See TracChangeset
for help on using the changeset viewer.