Bug 1316828 - Allow finer control over narration speed, r=eeejay
authorTimothy Guan-tin Chien <timdream@gmail.com>
Fri, 11 Nov 2016 18:51:04 +0800
changeset 439662 1fe99466c9f9baac154feca8acfef89c14af0848
parent 439661 4fc83233df681d000842ef2945bc6207d519efd2
child 439663 ee65eebbbef90bb6a73b7be5ebadac176d875e88
push id36064
push userrthijssen@mozilla.com
push dateWed, 16 Nov 2016 13:38:27 +0000
reviewerseeejay
bugs1316828
milestone53.0a1
Bug 1316828 - Allow finer control over narration speed, r=eeejay This patch updates the available speed for user from 8 different speeds to 40. MozReview-Commit-ID: DZXIhqQERIv
toolkit/components/narrate/NarrateControls.jsm
--- a/toolkit/components/narrate/NarrateControls.jsm
+++ b/toolkit/components/narrate/NarrateControls.jsm
@@ -99,17 +99,17 @@ function NarrateControls(mm, win) {
         <button disabled id="narrate-skip-previous"
                 title="${"back"}"></button>
         <button id="narrate-start-stop" title="${"start"}"></button>
         <button disabled id="narrate-skip-next"
                 title="${"forward"}"></button>
       </div>
       <div id="narrate-rate" class="narrate-row">
         <input id="narrate-rate-input" value="0" title="${"speed"}"
-               step="25" max="100" min="-100" type="range">
+               step="5" max="100" min="-100" type="range">
       </div>
       <div id="narrate-voices" class="narrate-row"></div>
       <div class="dropdown-arrow"></div>
     </li>`;
 
   this.narrator = new Narrator(win);
 
   let branch = Services.prefs.getBranch("narrate.");