EXT-7138 WIP More tidying up after the removal of the play button in the voice effect preview.
parent
d85464bb33
commit
a48c8a3aca
|
|
@ -216,13 +216,11 @@ void LLFloaterVoiceEffect::refreshEffectList()
|
|||
void LLFloaterVoiceEffect::updateControls()
|
||||
{
|
||||
bool recording = false;
|
||||
bool playing = false;
|
||||
|
||||
LLVoiceEffectInterface* effect_interface = LLVoiceClient::instance().getVoiceEffectInterface();
|
||||
if (effect_interface)
|
||||
{
|
||||
recording = effect_interface->isPreviewRecording();
|
||||
playing = effect_interface->isPreviewPlaying();
|
||||
}
|
||||
|
||||
getChild<LLButton>("record_btn")->setVisible(!recording);
|
||||
|
|
|
|||
Loading…
Reference in New Issue