* fix up initial scan info
This commit is contained in:
parent
39d72e83bb
commit
8d69a804e8
|
|
@ -63,7 +63,7 @@ ConfigureTracksStore = @ConfigureTracksStore
|
|||
vstDisabled = @state.configureTracks.editingTrack.length == 0 || @state.configureTracks.unscanned
|
||||
|
||||
if @state.configureTracks.unscanned
|
||||
initialScan = `<a className="button-orange" onClick={this.initialScan}>SCAN</a>`
|
||||
initialScan = `<p className="initial-scan">“If you want to use an audio plugin, click the <b>manage audio plugins</b> link above, and then click the <b>scan for new or updated plugins</b> link in the menu.</p>`
|
||||
|
||||
for input in @state.configureTracks.musicPorts.inputs
|
||||
|
||||
|
|
@ -87,10 +87,10 @@ ConfigureTracksStore = @ConfigureTracksStore
|
|||
|
||||
|
||||
for plugin in @state.configureTracks.vstPluginList.vsts
|
||||
if plugin.isInstrument == false
|
||||
vsts.push(`<option value={plugin.file}>{plugin.name} by {plugin.manuf}</option>`)
|
||||
else if plugin.category == 'NONE'
|
||||
if plugin.category == 'NONE'
|
||||
vsts.push(`<option value={plugin.file}>No VST/AU plugin selected</option>`)
|
||||
else if plugin.isInstrument == false
|
||||
vsts.push(`<option value={plugin.file}>{plugin.name} by {plugin.manuf}</option>`)
|
||||
|
||||
if @state.configureTracks.editingTrack.vst?
|
||||
vstAssignedThisTrack = true
|
||||
|
|
@ -115,7 +115,7 @@ ConfigureTracksStore = @ConfigureTracksStore
|
|||
</select>
|
||||
</div>
|
||||
<div className="audio-effects">
|
||||
<h3>Audio Effects (optional) {initialScan}</h3>
|
||||
<h3>Audio Effects (optional)</h3>
|
||||
<select className="vsts" name="vsts" onChange={this.vstsChanged} value={selectedVst} disabled={vstDisabled}>
|
||||
{vsts}
|
||||
</select>
|
||||
|
|
@ -123,6 +123,7 @@ ConfigureTracksStore = @ConfigureTracksStore
|
|||
<div className="settings-holder">
|
||||
<a onClick={this.vstSettings} className={vstSettingBtnClasses}>SETTINGS . . .</a>
|
||||
</div>
|
||||
{initialScan}
|
||||
{scan}
|
||||
</div>
|
||||
</div>`
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@
|
|||
position: absolute;
|
||||
right: 60px;
|
||||
}
|
||||
.initial-scan {
|
||||
margin-top:20px;
|
||||
line-height:125%;
|
||||
}
|
||||
.actions {
|
||||
clear:both;
|
||||
text-align:center;
|
||||
|
|
|
|||
Loading…
Reference in New Issue