Skip to content

Commit 943a0a9

Browse files
authored
wrong variable
1 parent 541db5c commit 943a0a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/addons/addons/custom-block-shape/userscript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export default async function ({ addon, console }) {
9292
`c -1 ${-1 * notchSize} -2 ${-2 * notchSize} -4 ${-2 * notchSize} `
9393

9494
/* Custom Notch API Support */
95-
const adjustedNotchSize = (paddingSize > 1 ? paddingSize - 0.05 :
96-
paddingSize < 1 ? paddingSize + 0.05 : paddingSize) + ((cornerSize - 1) / 10);
95+
const adjustedNotchSize = (multiplier > 1 ? multiplier - 0.05 :
96+
multiplier < 1 ? multiplier + 0.05 : multiplier) + ((cornerSize - 1) / 10);
9797
BlockSvg.CUSTOM_NOTCHES.forEach((notch) => {
9898
if (!notch.ogLeft) notch.ogLeft = notch.left;
9999
if (!notch.ogRight) notch.ogRight = notch.right;

0 commit comments

Comments
 (0)