Changeset 184601 in webkit


Ignore:
Timestamp:
May 19, 2015, 4:59:27 PM (10 years ago)
Author:
roger_fong@apple.com
Message:

Upper half of volume control should be filled, not hollow.
https://bugs.webkit.org/show_bug.cgi?id=145187.
<rdar://problem/21021970>

Reviewed by Dean Jackson.

  • Modules/mediacontrols/mediaControlsApple.js:

(Controller.prototype.drawVolumeBackground):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r184600 r184601  
     12015-05-19  Roger Fong  <roger_fong@apple.com>
     2
     3        Upper half of volume control should be filled, not hollow.
     4        https://bugs.webkit.org/show_bug.cgi?id=145187.
     5        <rdar://problem/21021970>
     6
     7        Reviewed by Dean Jackson.
     8
     9        * Modules/mediacontrols/mediaControlsApple.js:
     10        (Controller.prototype.drawVolumeBackground):
     11
    1122015-05-19  Michael Saboff  <msaboff@apple.com>
    213
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js

    r184595 r184601  
    12691269        ctx.restore();
    12701270       
    1271         // Draw volume track border.
     1271        // Draw portion of volume above slider thumb.
    12721272        ctx.save();
    12731273        ctx.beginPath();
    12741274        this.addRoundedRect(ctx, scrubberPosition, 3, width - scrubberPosition, timelineHeight, timelineHeight / 2.0);
    1275         this.addRoundedRect(ctx, scrubberPosition + 1, 4, width - borderSize - scrubberPosition - 1, trackHeight, trackHeight / 2.0);
    12761275        ctx.closePath();
    1277         ctx.clip("evenodd");
     1276        ctx.clip();
    12781277        ctx.fillStyle = "rgb(30, 30, 30)";
    12791278        ctx.fillRect(0, 0, width, height);
Note: See TracChangeset for help on using the changeset viewer.