mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 06:38:11 +08:00
Fix centroid label + continuous color-by interactions (#1484)
* add case to removing labels * add disabled state to centroid button * fix centroid test button clicking order * don't accidentally un-toggle first color
This commit is contained in:
@@ -63,6 +63,7 @@ const centroidLabels = (state = initialState, action, sharedNextState) => {
|
||||
};
|
||||
|
||||
case "color by continuous metadata":
|
||||
case "color by expression":
|
||||
return { ...state, labels: [] };
|
||||
|
||||
case "reset centroid labels":
|
||||
|
||||
Reference in New Issue
Block a user