File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ class SoundEditor extends React.Component {
526
526
menu . textarea . append ( pitchDiv , volumeDiv ) ;
527
527
528
528
const previewButton = document . createElement ( "button" ) ;
529
- previewButton . style = "border-radius: 100% ;padding: 5px;width: 46px; margin-right: 28px;height: 46px ;border-style: none;background: #00c3ff;" ;
529
+ previewButton . style = "border-radius: 1000px ;padding: 5px;width: 45px;height: 45px; margin-right: 10px ;border-style: none;background: #00c3ff;" ;
530
530
previewButton . innerHTML = `<img draggable="false" style="max-width: 100%;max-height: 100%" src="${ playURI } ">` ;
531
531
menu . textarea . append ( previewButton ) ;
532
532
@@ -541,7 +541,7 @@ class SoundEditor extends React.Component {
541
541
bufferSource . connect ( gainNode ) ;
542
542
bufferSource . buffer = properBuffer ;
543
543
bufferSource . start ( 0 ) ;
544
- bufferSource . detune . value = pitch . value * 10 ;
544
+ bufferSource . detune . value = pitchParts [ 1 ] . value * 10 ;
545
545
previewButton . innerHTML = `<img draggable="false" style="max-width: 100%;max-height: 100%" src="${ stopURI } ">` ;
546
546
audioPlaying = true ;
547
547
bufferSource . onended = ( ) => {
You can’t perform that action at this time.
0 commit comments