Skip to content

Commit

Permalink
Naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoldowsky committed Mar 22, 2024
1 parent 49b920f commit 2ca6ef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/graph/components/scatterdots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const ScatterDots = function ScatterDots(props: PlotProps) {
target.current = null;
}, [graphModel, updatePositions]),

updateDragHandler = useCallback(() => {
refreshDragHandlers = useCallback(() => {
selectGraphDots(dotsRef.current)
?.call(drag<SVGGElement,CaseData,Point>()
.filter(() => graphModel.editingMode !== "none")
Expand Down Expand Up @@ -148,9 +148,9 @@ export const ScatterDots = function ScatterDots(props: PlotProps) {
selectedOnly, getScreenX, getScreenY, getLegendColor,
getColorForId: graphModel.getColorForId, enableAnimation, pointColor, pointStrokeColor
});
updateDragHandler();
refreshDragHandlers();
}, [dataConfiguration, dataset, dotsRef, layout, legendAttrID,
enableAnimation, graphModel, yScaleRef, updateDragHandler]);
enableAnimation, graphModel, yScaleRef, refreshDragHandlers]);

// const refreshPointPositionsSVG = useCallback((selectedOnly: boolean) => {
// const xAttrID = dataConfiguration?.attributeID('x') ?? '',
Expand Down

0 comments on commit 2ca6ef7

Please sign in to comment.