mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
fix: draw smoothing round rect corner (#48769)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user