Skip to content

Commit

Permalink
report: disable fireworks with flag (#13610)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Jan 31, 2022
1 parent cad7442 commit 6b6b2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/renderer/report-ui-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class ReportUIFeatures {
const cat = lhr.categories[id];
return cat && cat.score === 1;
});
if (scoresAll100) {
if (scoresAll100 && !this._opts.disableAutoDarkModeAndFireworks) {
turnOffTheLights = true;
this._enableFireworks();
}
Expand Down

0 comments on commit 6b6b2cb

Please sign in to comment.