- Timestamp:
- 04/14/16 14:30:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.