Skip to content

Commit 6946374

Browse files
authored
weird addon fix
1 parent 97a4535 commit 6946374

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default async function ({ addon, console }) {
5555
`l ${4 * multiplier * notchSize} ${-4 * multiplier * notchSize} ` +
5656
`c 1 ${-1 * notchSize} 2 ${-2 * notchSize} 4 ${-2 * notchSize} `
5757
BlockSvg.NOTCH_PATH_RIGHT =
58+
`h ${(-4 * (cornerSize - 1) - 5 * (1 - notchSize))} ` +
5859
`c -2 0 -3 ${1 * notchSize} -4 ${2 * notchSize} ` +
5960
`l ${-4 * multiplier * notchSize} ${4 * multiplier * notchSize} ` +
6061
`c -1 ${1 * notchSize} -2 ${2 * notchSize} -4 ${2 * notchSize} ` +
@@ -73,6 +74,7 @@ export default async function ({ addon, console }) {
7374
`l ${4 * multiplier * notchSize} ${-4 * multiplier * notchSize} ` +
7475
`c 1 ${-1 * notchSize} 2 ${-2 * notchSize} 4 ${-2 * notchSize} `
7576
BlockSvg.NOTCH_SWITCH_PATH_RIGHT =
77+
`h ${(-4 * (cornerSize - 1) - 5 * (1 - notchSize))} ` +
7678
`c -2 0 -3 ${1 * notchSize} -4 ${2 * notchSize} ` +
7779
`l ${-4 * multiplier * notchSize} ${4 * multiplier * notchSize} ` +
7880
`c -1 ${1 * notchSize} -2 ${2 * notchSize} -4 ${2 * notchSize} ` +

0 commit comments

Comments
 (0)