mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 21:28:12 +08:00
do not reset color scale when dismissing scatterplot (#637)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user