File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,11 +94,11 @@ export default function GradientEditor() {
9494 isRtl : false ,
9595
9696 title : "Postmaker.dev" ,
97- text : `Create Posts" ` ,
97+ text : `Create Posts` ,
9898 rounded : true ,
9999 gradientType : "default" ,
100- gradientWidth : 300 ,
101- gradientHeight : 200 ,
100+ gradientWidth : 0 ,
101+ gradientHeight : 0 ,
102102 blurAmount : 0 ,
103103 } ) ;
104104
@@ -330,10 +330,10 @@ export default function GradientEditor() {
330330 </ label >
331331 < input
332332 type = "range"
333- min = "40 "
333+ min = "0 "
334334 name = "gradientWidth"
335335 max = "1920"
336- value = { gradientWidth }
336+ value = { gradientWidth || 0 }
337337 onChange = { ( e ) =>
338338 setStateValue ( e . target . name , Number ( e . target . value ) )
339339 }
@@ -347,10 +347,10 @@ export default function GradientEditor() {
347347 </ label >
348348 < input
349349 type = "range"
350- min = "40 "
350+ min = "0 "
351351 name = "gradientHeight"
352352 max = "1920"
353- value = { gradientHeight }
353+ value = { gradientHeight || 0 }
354354 onChange = { ( e ) =>
355355 setStateValue ( e . target . name , Number ( e . target . value ) )
356356 }
You can’t perform that action at this time.
0 commit comments