Skip to content

Commit

Permalink
fix(vx-brush): make resetOnEnd optional
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdemey authored and williaster committed Jan 30, 2020
1 parent f666149 commit d95e4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vx-brush/src/BaseBrush.tsx
Expand Up @@ -33,7 +33,7 @@ export type BaseBrushProps = {
onClick?: (event: MouseHandlerEvent) => void;
clickSensitivity: number;
disableDraggingSelection: boolean;
resetOnEnd: boolean;
resetOnEnd?: boolean;
};

export type BaseBrushState = BrushShape & {
Expand Down
2 changes: 1 addition & 1 deletion packages/vx-brush/src/Brush.tsx
Expand Up @@ -25,7 +25,7 @@ export type BrushProps = {
yAxisOrientation: 'left' | 'right';
xAxisOrientation: 'top' | 'bottom';
disableDraggingSelection: boolean;
resetOnEnd: boolean;
resetOnEnd?: boolean;
handleSize: number;
};

Expand Down

0 comments on commit d95e4f5

Please sign in to comment.