Commit 42d064c6 authored by Arnaud B.'s avatar Arnaud B. Committed by Arnaud B.

Make dashed border-style work correctly

There’s a short-path done for focus rectangles, but it can be taken in other conditions, and then fail occasionally to render a dashed line if the border-width is too big.
parent 2b8e30a8
......@@ -405,8 +405,8 @@ set_stroke_style (cairo_t *cr,
if (n == nearbyint (n))
segments[0] = 1;
segments[1] = 2;
segments[0] = line_width;
segments[1] = 2 * line_width;
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