diff options
-rw-r--r-- | src/starlet-fixture-display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/starlet-fixture-display.c b/src/starlet-fixture-display.c index b65a41c..0a7cf73 100644 --- a/src/starlet-fixture-display.c +++ b/src/starlet-fixture-display.c @@ -137,7 +137,10 @@ static void draw_fixture(cairo_t *cr, fix->intensity * fix->rgb[2] / 100.0, 1.0); cairo_rectangle(cr, 3.0, 2.0*h/3.0-3.0, w-6.0, h/3.0); - cairo_fill(cr); + cairo_fill_preserve(cr); + cairo_set_source_rgba(cr, fix->rgb[0], fix->rgb[1], fix->rgb[2], 1.0); + cairo_set_line_width(cr, 3.0); + cairo_stroke(cr); } |