File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
src/components/Preview/displays Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const SLICE_TYPE_LIST = [
5050
5151const COLOR_MAP_LIST = [
5252 DisplayColorMap . Gray ,
53+ DisplayColorMap . Actc ,
5354 DisplayColorMap . Plasma ,
5455 DisplayColorMap . Viridis ,
5556 DisplayColorMap . Freesurfer ,
@@ -70,7 +71,7 @@ const DISPLAY_TYPE_MAP: DisplayTypeMap = {
7071 calMax : 4096 ,
7172 } ,
7273 [ DisplayType . ZMap ] : {
73- colorMap : DisplayColorMap . Viridis ,
74+ colorMap : DisplayColorMap . Actc ,
7475 calMin : - 4 ,
7576 calMax : 4 ,
7677 } ,
@@ -141,15 +142,6 @@ export default (props: Props) => {
141142 ) ;
142143 }
143144
144- const rotateSliceType = ( ) => {
145- const names = Object . keys (
146- SLICE_TYPE_MAP ,
147- ) as ( keyof typeof SLICE_TYPE_MAP ) [ ] ;
148- const i = names . indexOf ( sliceTypeName ) ;
149- const next = i + 1 >= names . length ? 0 : i + 1 ;
150- setSliceTypeName ( names [ next ] ) ;
151- } ;
152-
153145 const selectStyle = { width : "9em" } ;
154146
155147 const inputStyle = { width : "9em" } ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export enum DisplayColorMap {
1414 Gray = "gray" ,
1515 Plasma = "plasma" ,
1616 Viridis = "viridis" ,
17+ Actc = "actc" ,
1718 Freesurfer = "freesurfer" ,
1819}
1920
You can’t perform that action at this time.
0 commit comments