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:
Severiano Badajoz
2020-05-20 14:02:10 -07:00
committed by GitHub
parent bc5b01da0f
commit b06b08ce33
3 changed files with 13 additions and 3 deletions
+1
View File
@@ -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":