Skip to content

Commit

Permalink
Merge pull request #1182 from osm-americana/clay-shields-triangle-rou…
Browse files Browse the repository at this point in the history
…nded

make triangle shield more rounded
  • Loading branch information
claysmalley authored Jan 1, 2025
2 parents 319154b + 09cca46 commit 92c99d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions shieldlib/src/shield_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export function triangleDownShield(
rectWidth: number
): Partial<ShieldDefinition> {
textColor = textColor ?? strokeColor;
radius = radius ?? 2;
radius = radius ?? 3;

return {
shapeBlank: {
Expand All @@ -232,10 +232,10 @@ export function triangleDownShield(
},
textLayout: textConstraint("triangleDown"),
padding: {
left: 1,
right: 1,
top: 2,
bottom: 1,
left: 0,
right: 0,
top: 3,
bottom: 0,
},
textColor,
};
Expand Down

0 comments on commit 92c99d8

Please sign in to comment.