()
| 233 | } |
| 234 | |
| 235 | function toggleColorMode() { |
| 236 | colorMode = colorMode === 'self' ? 'cumulative' : 'self'; |
| 237 | applyLineColors(); |
| 238 | |
| 239 | updateToggleUI('toggle-color-mode', colorMode === 'cumulative'); |
| 240 | |
| 241 | if (coldCodeHidden) { |
| 242 | applyHotFilter(); |
| 243 | } |
| 244 | |
| 245 | buildScrollMarker(); |
| 246 | } |
| 247 | |
| 248 | // ============================================================================ |
| 249 | // Initialization |
nothing calls this directly
no test coverage detected
searching dependent graphs…