We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541db5c commit 943a0a9Copy full SHA for 943a0a9
src/addons/addons/custom-block-shape/userscript.js
@@ -92,8 +92,8 @@ export default async function ({ addon, console }) {
92
`c -1 ${-1 * notchSize} -2 ${-2 * notchSize} -4 ${-2 * notchSize} `
93
94
/* Custom Notch API Support */
95
- const adjustedNotchSize = (paddingSize > 1 ? paddingSize - 0.05 :
96
- paddingSize < 1 ? paddingSize + 0.05 : paddingSize) + ((cornerSize - 1) / 10);
+ const adjustedNotchSize = (multiplier > 1 ? multiplier - 0.05 :
+ multiplier < 1 ? multiplier + 0.05 : multiplier) + ((cornerSize - 1) / 10);
97
BlockSvg.CUSTOM_NOTCHES.forEach((notch) => {
98
if (!notch.ogLeft) notch.ogLeft = notch.left;
99
if (!notch.ogRight) notch.ogRight = notch.right;
0 commit comments