Increase the frame width if there's turn value

This commit is contained in:
yuanchuan 2021-10-29 15:47:48 +08:00
parent a887656927
commit e6ed6ed6e0
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ function create_polygon_points(option, fn) {
if (frame !== undefined) {
add(first_point);
let w = (frame || 1) / 100;
let w = (frame || 1) / 100 * turn;
if (w <= 0) w = 2 / 1000;
for (let i = 0; i < split; ++i) {
let t = -rad * i;