mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-17 02:30:47 +03:00
style(render): reduce opacity for text outline
This commit is contained in:
parent
0fd82974cf
commit
3d7eee792e
@ -52,7 +52,7 @@ static void render_text(cairo_t *cr, struct swappy_paint_text text) {
|
||||
pango_rectangle_t strong_pos;
|
||||
pango_rectangle_t weak_pos;
|
||||
struct swappy_box cursor_box;
|
||||
cairo_set_source_rgba(cr, 0.5, 0.5, 0.5, 0.5);
|
||||
cairo_set_source_rgba(cr, 0.5, 0.5, 0.5, 0.3);
|
||||
cairo_set_line_width(cr, 5);
|
||||
cairo_rectangle(cr, x, y, w, h);
|
||||
cairo_stroke(cr);
|
||||
|
Loading…
Reference in New Issue
Block a user