Skip to content

Commit

Permalink
Remove extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoldowsky committed Mar 21, 2024
1 parent a211ebe commit 49b920f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/plugins/graph/components/scatterdots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const ScatterDots = function ScatterDots(props: PlotProps) {

const
onDragStart = useCallback((event: D3DragEvent<SVGGElement,CaseData,Point>, datum) => {
console.log('onDragStart');
const targetDot = event.sourceEvent.target && inGraphDot(event.sourceEvent.target as SVGSVGElement);
if (!targetDot) return;
target.current = select(targetDot as SVGSVGElement);
Expand Down Expand Up @@ -90,7 +89,6 @@ export const ScatterDots = function ScatterDots(props: PlotProps) {
}, [graphModel, updatePositions]),

updateDragHandler = useCallback(() => {
console.log('updateDragHandlers', dotsRef);
selectGraphDots(dotsRef.current)
?.call(drag<SVGGElement,CaseData,Point>()
.filter(() => graphModel.editingMode !== "none")
Expand All @@ -112,7 +110,6 @@ export const ScatterDots = function ScatterDots(props: PlotProps) {
}, [dataConfiguration, dotsRef, graphModel]);

const refreshPointPositionsD3 = useCallback((selectedOnly: boolean) => {
console.log("refreshPointPos");
if (!dataConfiguration) return;
const getScreenX = (anID: string) => {
const xAttrID = dataConfiguration?.attributeID('x') ?? '',
Expand Down
1 change: 0 additions & 1 deletion src/plugins/graph/utilities/graph-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export interface IMatchCirclesProps {
}

export function matchCirclesToData(props: IMatchCirclesProps) {
console.log("MCTD");
const { dataConfiguration, enableAnimation, instanceId, dotsElement } = props;
const allCaseData = dataConfiguration.joinedCaseDataArrays;
const caseDataKeyFunc = (d: CaseData) => `${d.dataConfigID}_${instanceId}_${d.plotNum}_${d.caseID}`;
Expand Down

0 comments on commit 49b920f

Please sign in to comment.