Skip to content

Commit 272a10c

Browse files
committed
Also enforce minimum gradient size in select mode
Oops
1 parent 3795999 commit 272a10c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helper/style-path.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ const applyGradientTypeToSelection = function (gradientType, applyToStroke, text
314314
itemColor1,
315315
itemColor2,
316316
gradientType,
317-
item.bounds
317+
item.bounds,
318+
null, // radialCenter
319+
item.strokeWidth
318320
);
319321
}
320322
}

0 commit comments

Comments
 (0)