소스 검색

tweak theme descriptions

Alexander Rose 2 년 전
부모
커밋
5b70c14ffe
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/mol-theme/color/model-index.ts
  2. 1 1
      src/mol-theme/color/trajectory-index.ts

+ 1 - 1
src/mol-theme/color/model-index.ts

@@ -14,7 +14,7 @@ import { getPaletteParams, getPalette } from '../../mol-util/color/palette';
 import { TableLegend, ScaleLegend } from '../../mol-util/legend';
 
 const DefaultColor = Color(0xCCCCCC);
-const Description = 'Gives every model a unique color based on the position (index) of the model in the list of models in the structure.';
+const Description = 'Gives every model a unique color based on its index.';
 
 export const ModelIndexColorThemeParams = {
     ...getPaletteParams({ type: 'colors', colorList: 'many-distinct' }),

+ 1 - 1
src/mol-theme/color/trajectory-index.ts

@@ -14,7 +14,7 @@ import { getPaletteParams, getPalette } from '../../mol-util/color/palette';
 import { TableLegend, ScaleLegend } from '../../mol-util/legend';
 
 const DefaultColor = Color(0xCCCCCC);
-const Description = 'Gives every model a unique color based on the position (index) of the trajectory in the list of trajectories in the structure.';
+const Description = 'Gives every model (frame) a unique color based on the index in its trajectory.';
 
 export const TrajectoryIndexColorThemeParams = {
     ...getPaletteParams({ type: 'colors', colorList: 'purples' }),