From 272a10c91f57706b208e53a33547e550b490bb2c Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Tue, 28 Jul 2020 16:32:46 -0400 Subject: [PATCH] Also enforce minimum gradient size in select mode Oops --- src/helper/style-path.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helper/style-path.js b/src/helper/style-path.js index 7b258e80..2f4ac021 100644 --- a/src/helper/style-path.js +++ b/src/helper/style-path.js @@ -314,7 +314,9 @@ const applyGradientTypeToSelection = function (gradientType, applyToStroke, text itemColor1, itemColor2, gradientType, - item.bounds + item.bounds, + null, // radialCenter + item.strokeWidth ); } }