public bool SelectRail(FillerRailSelectPropertyPanel selectPanel, Func <Event, bool> afterAction) { if (Tool.Mode == FillerRailToolMode && selectPanel == FillerRailToolMode.SelectPanel) { Tool.SetDefaultMode(); return(true); } else { Tool.SetMode(FillerRailToolMode); FillerRailToolMode.Contour = EditObject.Contour; FillerRailToolMode.SelectPanel = selectPanel; FillerRailToolMode.AfterSelectPanel = afterAction; selectPanel.Focus(); return(false); } }
public void LeaveRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = null;
public bool SelectRail(FillerRailSelectPropertyPanel selectPanel) => SelectRail(selectPanel, null);
public void HoverRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = selectPanel;