Skip to content

Commit

Permalink
refactor: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Aug 15, 2021
1 parent 031bb96 commit a2f03e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/settings/defaultSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export const defaultSettings: Readonly<Settings> = {
silenceSpeedSpecificationMethod: 'relativeToSoundedSpeed',
silenceSpeedRaw: 2.5,
previousSilenceSpeedRaw: 2.5,
// Argument for `soundedSpeed !== 1`:
// * It reminds the user that the extension is enabled, so he's not confused by media getting seeked seemingly
// randomly.
// * It shows the user that there is such functionality.
// * People who have installed this extension are expected to prefer a faster `soundedSpeed`.
soundedSpeed: 1.5,
previousSoundedSpeed: 1.5,
enabled: enabledSettingDefaultValue,
Expand Down

0 comments on commit a2f03e7

Please sign in to comment.