Skip to content

Commit

Permalink
Add to baseline defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Aug 10, 2023
1 parent 8e829e5 commit 1465975
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class IndexedStackColorMapper extends StackColorMapper {
this.define<IndexedStackColorMapper.Props>(({Boolean, Number, Ref}) => ({
single_color_mapper: [ Ref(ContinuousColorMapper) ],
index: [ Number, 0 ],
map_all: [ Boolean, false ]
map_all: [ Boolean, false ],
}))
}

Expand Down
9 changes: 9 additions & 0 deletions tests/baselines/defaults.json5
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,15 @@
StackColorMapper: {
__extends__: "ColorMapper",
},
IndexedStackColorMapper: {
__extends__: "StackColorMapper",
single_color_mapper: {
type: "symbol",
name: "unset",
},
index: 0,
map_all: false,
},
WeightedStackColorMapper: {
__extends__: "StackColorMapper",
alpha_mapper: {
Expand Down

0 comments on commit 1465975

Please sign in to comment.