fix: draw smoothing round rect corner (#48783)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Bill Shen <15865969+cucbin@users.noreply.github.com>
This commit is contained in:
trop[bot] 2025-11-05 18:25:42 -05:00 committed by GitHub
commit e93f04b23e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -302,8 +302,8 @@ SkPath DrawSmoothRoundRect(float x,
bottom_right_smoothness, SkPoint::Make(x + width, y + height), 2);
// Bottom left corner
DrawCorner(path, bottom_left_radius, left_bottom_smoothness,
bottom_left_smoothness, SkPoint::Make(x, y + height), 3);
DrawCorner(path, bottom_left_radius, bottom_left_smoothness,
left_bottom_smoothness, SkPoint::Make(x, y + height), 3);
path.close();
return path;