public void MouseDown(InputState input) { IsMiddleDown = input.MiddleWasJustPressed; IsRightDown = input.RightWasJustPressed; IsLeftDown = input.LeftWasJustPressed; PlottableBeingDragged = GetDraggableUnderMouse(input.X, input.Y); Settings.MouseDown(input.X, input.Y); }
public void MouseDown(InputState input) { if (!Settings.AllAxesHaveBeenSet) { Plot.SetAxisLimits(Plot.GetAxisLimits()); } IsMiddleDown = input.MiddleWasJustPressed; IsRightDown = input.RightWasJustPressed; IsLeftDown = input.LeftWasJustPressed; PlottableBeingDragged = GetDraggableUnderMouse(input.X, input.Y); Settings.MouseDown(input.X, input.Y); }