From: Volker Theile Date: Fri, 17 Jul 2020 11:04:23 +0000 (+0200) Subject: mgr/dashboard: Display cluster status in favicon X-Git-Tag: v17.0.0~1697^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9d9632ca26fbe213c74021b91a3087d4c08a7651;p=ceph.git mgr/dashboard: Display cluster status in favicon Use radius of 2px like on GitHub to increase visibility of the status circle. Follow up of PR https://github.com/ceph/ceph/pull/36000. Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts index 3ed43f690db02..e9847ca06fe32 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts @@ -52,7 +52,7 @@ export class FaviconService implements OnDestroy { context.save(); context.globalCompositeOperation = 'destination-out'; context.beginPath(); - context.arc(canvas.width - radius, radius, radius + 1, 0, 2 * Math.PI); + context.arc(canvas.width - radius, radius, radius + 2, 0, 2 * Math.PI); context.fill(); context.restore();