Skip to content

Commit 3c261fe

Browse files
authored
Merge pull request #117 from elwerene/fix-mesh-styling
set complete style (so that width is set)
2 parents 036520b + 6d5ff11 commit 3c261fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coord/ranged.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl<'a, X: Ranged, Y: Ranged> MeshLine<'a, X, Y> {
168168
MeshLine::XMesh(a, b, _) => (a, b),
169169
MeshLine::YMesh(a, b, _) => (a, b),
170170
};
171-
backend.draw_line(left, right, &style.color)
171+
backend.draw_line(left, right, style)
172172
}
173173
}
174174

0 commit comments

Comments
 (0)