do not reset color scale when dismissing scatterplot (#637)

This commit is contained in:
Bruce Martin
2019-03-12 10:49:01 -07:00
committed by GitHub
parent caaee7e9bf
commit 80969012c9
@@ -345,14 +345,11 @@ class Scatterplot extends React.Component {
<Button <Button
type="button" type="button"
minimal minimal
onClick={() => { onClick={() =>
dispatch({ dispatch({
type: "clear scatterplot" type: "clear scatterplot"
}); })
dispatch({ }
type: "reset colorscale"
});
}}
> >
remove remove
</Button> </Button>