File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/addons/addons/custom-block-shape Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,14 @@ export default async function ({ addon, console }) {
97
97
BlockSvg . CUSTOM_NOTCHES . forEach ( ( notch ) => {
98
98
if ( ! notch . ogLeft ) notch . ogLeft = notch . left ;
99
99
if ( ! notch . ogRight ) notch . ogRight = notch . right ;
100
+ if ( window . test ) {
101
+ console . log ( notchSize , multiplier , cornerSize ) ;
102
+ notch . left = scalePathXY ( notch . ogLeft , window . test [ 0 ] , window . test [ 1 ] ) ;
103
+ notch . right = scalePathXY ( notch . ogRight , window . test [ 0 ] , window . test [ 1 ] ) ;
104
+ } else {
100
105
notch . left = scalePathXY ( notch . ogLeft , adjustedNotchSize , notchSize ) ;
101
106
notch . right = scalePathXY ( notch . ogRight , adjustedNotchSize , notchSize ) ;
107
+ }
102
108
} ) ;
103
109
104
110
/* Custom Shape API Support */
You can’t perform that action at this time.
0 commit comments