Просмотр исходного кода

color smoothing for element-index theme

Alexander Rose 4 лет назад
Родитель
Сommit
9b7192f261
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/mol-theme/color/element-index.ts

+ 1 - 0
src/mol-theme/color/element-index.ts

@@ -64,6 +64,7 @@ export function ElementIndexColorTheme(ctx: ThemeDataContext, props: PD.Values<E
     return {
         factory: ElementIndexColorTheme,
         granularity: 'groupInstance',
+        preferSmoothing: true,
         color,
         props,
         description: Description,