Skip to content

Commit 515904d

Browse files
authored
make the addon work slightly better
1 parent 329e3fc commit 515904d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ export default async function ({ addon, console }) {
6767
`c 2 0 3 ${1 * notchSize} 4 ${2 * notchSize} ` +
6868
`l ${4 * multiplier * notchSize} ${4 * multiplier * notchSize} ` +
6969
`c 1 ${1 * notchSize} 2 ${2 * notchSize} 4 ${2 * notchSize} ` +
70-
`c ${4 * (multiplier - 0.5)} 0 ${8 * (multiplier - 0.5) * notchSize} ${-8 * (multiplier - 0.5) * notchSize} ${12 * (multiplier - 0.5) * notchSize} ${-8 * (multiplier - 0.5) * notchSize} ` +
71-
`c ${4 * (multiplier - 0.5)} 0 ${8 * (multiplier - 0.5) * notchSize} ${8 * (multiplier - 0.5) * notchSize} ${12 * (multiplier - 0.5) * notchSize} ${8 * (multiplier - 0.5) * notchSize} ` +
70+
`c ${4 * (multiplier - 0.5)} 0 ${8 * (multiplier - 0.5)} ${-8 * (multiplier - 0.5) * notchSize} ${12 * (multiplier - 0.5)} ${-8 * (multiplier - 0.5) * notchSize} ` +
71+
`c ${4 * (multiplier - 0.5)} 0 ${8 * (multiplier - 0.5)} ${8 * (multiplier - 0.5) * notchSize} ${12 * (multiplier - 0.5)} ${8 * (multiplier - 0.5) * notchSize} ` +
7272
`c 2 0 3 ${-1 * notchSize} 4 ${-2 * notchSize} ` +
7373
`l ${4 * multiplier * notchSize} ${-4 * multiplier * notchSize} ` +
7474
`c 1 ${-1 * notchSize} 2 ${-2 * notchSize} 4 ${-2 * notchSize} `
7575
BlockSvg.NOTCH_SWITCH_PATH_RIGHT =
7676
`c -2 0 -3 ${1 * notchSize} -4 ${2 * notchSize} ` +
7777
`l ${-4 * multiplier * notchSize} ${4 * multiplier * notchSize} ` +
7878
`c -1 ${1 * notchSize} -2 ${2 * notchSize} -4 ${2 * notchSize} ` +
79-
`c ${-4 * (multiplier - 0.5)} 0 ${-8 * (multiplier - 0.5) * notchSize} ${-8 * (multiplier - 0.5) * notchSize} ${-12 * (multiplier - 0.5) * notchSize} ${-8 * (multiplier - 0.5) * notchSize} ` +
80-
`c ${-4 * (multiplier - 0.5)} 0 ${-8 * (multiplier - 0.5) * notchSize} ${8 * (multiplier - 0.5) * notchSize} ${-12 * (multiplier - 0.5) * notchSize} ${8 * (multiplier - 0.5) * notchSize} ` +
79+
`c ${-4 * (multiplier - 0.5)} 0 ${-8 * (multiplier - 0.5)} ${-8 * (multiplier - 0.5) * notchSize} ${-12 * (multiplier - 0.5)} ${-8 * (multiplier - 0.5) * notchSize} ` +
80+
`c ${-4 * (multiplier - 0.5)} 0 ${-8 * (multiplier - 0.5)} ${8 * (multiplier - 0.5) * notchSize} ${-12 * (multiplier - 0.5)} ${8 * (multiplier - 0.5) * notchSize} ` +
8181
`c 2 0 3 ${-1 * notchSize} 4 ${-2 * notchSize} ` +
8282
`l ${4 * multiplier * notchSize} ${-4 * multiplier * notchSize} ` +
8383
`c 1 ${-1 * notchSize} 2 ${-2 * notchSize} 4 ${-2 * notchSize} `

0 commit comments

Comments
 (0)