File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 22 "name" : " SoulSifter" ,
33 "version" : " 1.7.1" ,
44 "description" : " DJ & music organization app." ,
5- "build" : 3794 ,
5+ "build" : 3796 ,
66 "main" : " main.js" ,
77 "scripts" : {
88 "fe:build" : " vite build" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class SongSection extends SearchOptionsMixin(SettingsMixin(SongEditMixin(SongMix
4343 <pitch- slider> </ pitch- slider>
4444 </ div>
4545 <audio- player id= "audio" .song = "${ this . song } " @song-ended = "${ this . songEnded } "> </ audio- player>
46- ${ this . mix . comments ? html `<div> ${ this . mix . comments } <br> <br> </ div> ` : '' }
46+ ${ this . mix && this . mix . comments ? html `<div> ${ this . mix . comments } <br> <br> </ div> ` : '' }
4747 <div> ${ this . song . styles . map ( s => s . name ) . join ( ', ' ) } </ div>
4848 <div id= "musicVideoThumbnail" draggable = "true" @dragstart = "${ this . dragMusicVideo } " ?hide= "${ ! this . musicVideo } "> </ div>
4949 ${ debugMode ? html `<div id= "musicVideoInput" ?hide= "${ ! ! this . musicVideo } " >
@@ -71,7 +71,7 @@ class SongSection extends SearchOptionsMixin(SettingsMixin(SongEditMixin(SongMix
7171 this . saveSongTrailListener = ( e ) => this . saveSongTrail ( e ) ;
7272 this . song = new ss . Song ( ) ;
7373 this . song . album = new ss . Album ( ) ;
74- this . mix = new ss . Mix ( ) ;
74+ this . mix = undefined ;
7575 this . autoplay = false ;
7676 }
7777
@@ -112,8 +112,6 @@ class SongSection extends SearchOptionsMixin(SettingsMixin(SongEditMixin(SongMix
112112 if ( this . songTrail . length >= 2 ) {
113113 let len = this . songTrail . length ;
114114 this . mix = ss . Mix . findByOutSongIdAndInSongId ( this . songTrail [ len - 2 ] . songId , this . songTrail [ len - 1 ] . songId ) ;
115- } else {
116- this . mix = new ss . Mix ( ) ;
117115 }
118116 }
119117
You can’t perform that action at this time.
0 commit comments