public static ModifiedPressedAction NewModifiedPressedAction(Keys modifier, params Keys[] keys) { var action = new ModifiedPressedAction(state) { Modifier = modifier }; action.Keys.AddRange(keys); return(action); }
public CommandQueue() { undo = InputManager.NewModifiedPressedAction(Keys.LeftControl, Keys.Z); redo = InputManager.NewModifiedPressedAction(Keys.LeftControl, Keys.Y); }