Skip to content

Commit

Permalink
no comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gnattu committed Aug 22, 2024
1 parent 71cc74c commit f217c7f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/controllers/dashboard/encodingsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,6 @@ $(document).on('pageinit', '#encodingSettingsPage', function () {
page.querySelector('.tonemappingOptions').classList.add('hide');
}

// if (isHwaSelected) {
// page.querySelector('.tonemappingModeOptions').classList.remove('hide');
// page.querySelector('.allowTonemappingHardwareHelp').classList.remove('hide');
// page.querySelector('.allowTonemappingSoftwareHelp').classList.add('hide');
// } else {
// page.querySelector('.tonemappingModeOptions').classList.add('hide');
// page.querySelector('.allowTonemappingHardwareHelp').classList.add('hide');
// page.querySelector('.allowTonemappingSoftwareHelp').classList.remove('hide');
// }

page.querySelector('.tonemappingModeOptions').classList.toggle('hide', !isHwaSelected);
page.querySelector('.allowTonemappingHardwareHelp').classList.toggle('hide', !isHwaSelected);
page.querySelector('.allowTonemappingSoftwareHelp').classList.toggle('hide', isHwaSelected);
Expand Down

0 comments on commit f217c7f

Please sign in to comment.