Commit 7e6ad552 authored by Sam Foster's avatar Sam Foster
Browse files

Bug 943201 - Add gradient to download progress ring image, rotate it with...

Bug 943201 - Add gradient to download progress ring image, rotate it with progress angle. r=mbrubeck, a=lsblakk
parent 910415d0
Loading
Loading
Loading
Loading
+3 −1
Changes for browser/metro/base/content/bindings/circularprogress.xml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -67,7 +67,9 @@
              ctx.clip();

              // Draw circle image.
              ctx.drawImage(this._img, 0, 0);
              ctx.translate(center, center);
              ctx.rotate(endAngle);
              ctx.drawImage(this._img, -center, -center);

              ctx.restore();
            } else {
+497 B (1.9 KiB)
Loading image diff...