From e93f04b23eb48188f26a7c701b5aa6f4d353cfa5 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 5 Nov 2025 18:25:42 -0500 Subject: [PATCH] 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> --- shell/renderer/electron_smooth_round_rect.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/renderer/electron_smooth_round_rect.cc b/shell/renderer/electron_smooth_round_rect.cc index 58bbc49152cc..08d8f93cb34a 100644 --- a/shell/renderer/electron_smooth_round_rect.cc +++ b/shell/renderer/electron_smooth_round_rect.cc @@ -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;