Skip to content

SP4: Fix ScatterPlotDraggable#3025

Merged
swharden merged 3 commits intoScottPlot:mainfrom
KroMignon:ScatterPlotDraggable-Update
Nov 29, 2023
Merged

SP4: Fix ScatterPlotDraggable#3025
swharden merged 3 commits intoScottPlot:mainfrom
KroMignon:ScatterPlotDraggable-Update

Conversation

@KroMignon
Copy link
Contributor

Purpose:

This should resolve issues with ScatteerPlotDraggable (#2870 and #2969):

  • remove duplicated members Xs and Ys, they are already managed by base class ScatterPlot
  • ensure a valid point is selected before trying to update its position
  • avoid possible exception with PointCount when no data is set

KroMignon and others added 3 commits November 28, 2023 14:47
This should resolve issues with ScatteerPlotDraggable (ScottPlot#2870 and ScottPlot#2969):
- remove duplicated members `Xs` and `Ys`, they are already managed by base class `ScatterPlot`
- ensure a valid point is selected before trying to update its position
- avoid possible exception with `PointCount` when no data is set
@swharden
Copy link
Member

Fantastic fix @KroMignon! I really appreciate all your help on these recent issues 😄🙏🚀

@swharden swharden enabled auto-merge November 29, 2023 01:04
@swharden swharden disabled auto-merge November 29, 2023 01:04
@swharden swharden merged commit ad64807 into ScottPlot:main Nov 29, 2023
@swharden swharden linked an issue Dec 3, 2023 that may be closed by this pull request
@KroMignon KroMignon deleted the ScatterPlotDraggable-Update branch January 23, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SP4 ScatterPlotDraggable: Bug after Update()

2 participants