Skip to content

refactor IDraggable #602

@swharden

Description

@swharden
  • DragTo() shouldn't pass keyboard state. That logic should be handled in the user controls.
  • SetLimits() arguments shouldn't be nullable. Negative and positive infinity can be used when limits are disabled. This should be 4 properties instead of a single setter method, with better names like XMin, XMax, YMin, and YMax

https://github.com/swharden/ScottPlot/blob/4a33070788865192592abe7b9136fff70e74af8e/src/ScottPlot/plottables/IDraggable.cs#L7-L14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions