Browse Source

better granularity in element-symbol color theme

Alexander Rose 3 years ago
parent
commit
bb86d83c96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-theme/color/element-symbol.ts

+ 1 - 1
src/mol-theme/color/element-symbol.ts

@@ -77,7 +77,7 @@ export function ElementSymbolColorTheme(ctx: ThemeDataContext, props: PD.Values<
         return DefaultElementSymbolColor;
     }
 
-    const granularity = props.carbonColor.name === 'element-symbol' ? 'group' : 'groupInstance';
+    const granularity = props.carbonColor.name === 'operator-name' ? 'groupInstance' : 'group';
 
     return {
         factory: ElementSymbolColorTheme,