diff --git a/src/renderer/painter_line.cpp b/src/renderer/painter_line.cpp index bf8e1b060..d2094f083 100644 --- a/src/renderer/painter_line.cpp +++ b/src/renderer/painter_line.cpp @@ -20,10 +20,8 @@ void Painter::renderLine(LineBucket& bucket, util::ptr layer_desc, c float offset = properties.gap_width == 0 ? 0 : (properties.gap_width + width) / 2; float blur = properties.blur + antialiasing; - // These are the radii of the line. We are limiting it to 16, which will result - // in a point size of 64 on retina. - float inset = std::fmin((std::fmax(-1, offset - width / 2 - antialiasing / 2) + 1), 16.0f); - float outset = std::fmin(offset + width / 2 + antialiasing / 2, 16.0f); + float inset = std::fmax(-1, offset - width / 2 - antialiasing / 2) + 1; + float outset = offset + width / 2 + antialiasing / 2; Color color = properties.color; color[0] *= properties.opacity;