Skip to content

Commit

Permalink
Merge pull request #55922 from lawnjelly/fix_line_width
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Dec 14, 2021
2 parents e688749 + cbb6dc3 commit 6061594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/visual/visual_server_canvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ void VisualServerCanvas::canvas_item_add_line(RID p_item, const Point2 &p_from,

// 90 degrees
side = Vector2(-side.y, side.x);
side *= p_width;
side *= p_width * 0.5;

points.set(0, p_from + side);
points.set(1, p_from - side);
Expand Down

0 comments on commit 6061594

Please sign in to comment.