Commit 18070f59 authored by Philipp Hörist's avatar Philipp Hörist

Avatar: Make show indicator smaller

parent 0927655c
Pipeline #4180 passed with stages
in 3 minutes and 3 seconds
......@@ -102,14 +102,14 @@ def add_status_to_avatar(surface, show):
width = width / scale
height = height / scale
clip_size = width / 5
clip_size = width / 6.5
context.set_source_rgb(255, 255, 255)
context.set_operator(cairo.Operator.CLEAR)
context.arc(width - clip_size, height - clip_size, clip_size, 0, 2 * pi)
context.fill()
color = SHOW_COLORS[show]
show_size = width / 5
show_size = width / 6.5
show_radius = show_size * 0.80
context.set_source_rgb(*color)
context.set_operator(cairo.Operator.OVER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment