File tree Expand file tree Collapse file tree
src/apps/dashboard/routes/playback Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,19 +471,21 @@ export const Component = () => {
471471
472472 { ( hardwareAccelType === 'none' || isHwaSelected ) && (
473473 < >
474- < FormControl >
475- < FormControlLabel
476- label = { globalize . translate ( 'EnableTonemapping' ) }
477- control = {
478- < Checkbox
479- name = 'EnableTonemapping'
480- checked = { config . EnableTonemapping }
481- onChange = { onCheckboxChange }
482- />
483- }
484- />
485- < FormHelperText > { globalize . translate ( isHwaSelected ? 'AllowTonemappingHelp' : 'AllowTonemappingSoftwareHelp' ) } </ FormHelperText >
486- </ FormControl >
474+ { isHwaSelected && (
475+ < FormControl >
476+ < FormControlLabel
477+ label = { globalize . translate ( 'EnableTonemapping' ) }
478+ control = {
479+ < Checkbox
480+ name = 'EnableTonemapping'
481+ checked = { config . EnableTonemapping }
482+ onChange = { onCheckboxChange }
483+ />
484+ }
485+ />
486+ < FormHelperText > { globalize . translate ( 'AllowTonemappingHelp' ) } </ FormHelperText >
487+ </ FormControl >
488+ ) }
487489
488490 < TextField
489491 name = 'TonemappingAlgorithm'
You can’t perform that action at this time.
0 commit comments