Skip to content

Commit

Permalink
Merge pull request #605 from PaulHax/more-than-four-components
Browse files Browse the repository at this point in the history
feat(createLayersUIMachine): for 4 or more components colormap RGB+Gray
  • Loading branch information
thewtex authored Oct 14, 2022
2 parents 803728c + f700ea4 commit 13ba5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Layers/createLayersUIMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const assignImageContext = assign({
colorMap = 'BkBu'
break
}
} else if (components === 4) {
} else if (components >= 4) {
switch (component) {
case 0:
colorMap = 'BkRd'
Expand Down

0 comments on commit 13ba5a1

Please sign in to comment.