Bug 1316828 - Allow finer control over narration speed, r=eeejay, a=gchang
authorTimothy Guan-tin Chien <timdream@gmail.com>
Fri, 11 Nov 2016 18:51:04 +0800
changeset 352459 8c525790a43e05dce9b76f8f15f928b02c15e5ed
parent 352458 20d6c664a89e8eb7f077d02638db77d75a0dcdf9
child 352460 01be3fcf934f9560ca5a3c130c041577873d4a5d
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseeejay, gchang
bugs1316828
milestone52.0a2
Bug 1316828 - Allow finer control over narration speed, r=eeejay, a=gchang 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.");