|
1 | | -import { Download, OpenInNew } from '@mui/icons-material'; |
| 1 | +import { Download, HelpOutline, OpenInNew } from '@mui/icons-material'; |
2 | 2 | import ImageIcon from '@mui/icons-material/Image'; |
3 | | -import { Box, Button, Checkbox, Link, Typography } from '@mui/material'; |
| 3 | +import { Box, Button, Checkbox, Icon, Link, Tooltip, Typography } from '@mui/material'; |
4 | 4 | import { Niivue, SHOW_RENDER } from '@niivue/niivue'; |
5 | 5 | import { ChangeEvent, useCallback, useEffect, useRef, useState } from 'react'; |
6 | 6 | import ThresholdSlider from './ThresholdSlider'; |
@@ -224,11 +224,24 @@ const NiiVueVisualizer: React.FC<{ file: string; filename: string; neurovaultLin |
224 | 224 | onDebouncedThresholdChange={handleUpdateThreshold} |
225 | 225 | /> |
226 | 226 | </Box> |
227 | | - <Box width="130px" display="flex" flexDirection="column"> |
| 227 | + <Box width="140px" display="flex" flexDirection="column"> |
228 | 228 | <Box display="flex" justifyContent="space-between" alignItems="center"> |
229 | 229 | <Typography variant="caption" gutterBottom={false}> |
230 | 230 | Soft Threshold |
231 | 231 | </Typography> |
| 232 | + <Tooltip |
| 233 | + title={ |
| 234 | + <Typography variant="caption"> |
| 235 | + Checking this option will also highlight areas of activation below the current |
| 236 | + selected threshold |
| 237 | + </Typography> |
| 238 | + } |
| 239 | + placement="top" |
| 240 | + > |
| 241 | + <Icon fontSize="small"> |
| 242 | + <HelpOutline fontSize="small" sx={{ color: 'muted.main' }} /> |
| 243 | + </Icon> |
| 244 | + </Tooltip> |
232 | 245 | <Checkbox sx={{ padding: 0 }} checked={softThreshold} onChange={handleToggleSoftThreshold} /> |
233 | 246 | </Box> |
234 | 247 | <Box display="flex" justifyContent="space-between" alignItems="center"> |
|
0 commit comments