Skip to content

Commit

Permalink
fix(utilities): allows border radius object to rectangles (#14)
Browse files Browse the repository at this point in the history
makes it possible to add a border to the rectangles of the TourGuideZoneByPosition component
  • Loading branch information
Gabrielfcs authored Oct 13, 2020
1 parent 4e25a7c commit cd60b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const defaultSvgPath = ({
borderRadius: number
borderRadiusObject?: BorderRadiusObject
}): SvgPath => {
if (radius) {
if (radius || borderRadiusObject) {
const borderRadiusTopRight = getBorderRadiusOrDefault(
borderRadiusObject?.topRight,
radius,
Expand Down

0 comments on commit cd60b55

Please sign in to comment.