Merge branch 'record'

This commit is contained in:
Marat Fayzullin 2023-02-22 10:22:09 -05:00
commit 4444582a3e
2 changed files with 8 additions and 7 deletions

View File

@ -1344,14 +1344,18 @@ img.openwebrx-mirror-img
height: 27px;
}
.openwebrx-record-button svg {
height: 27px;
@keyframes openwebrx-record-animation {
0% { background: #ff0000; color: white; }
50% { background: #800000; color: white; }
100% { background: #ff0000; color: white; }
}
.openwebrx-record-button {
color: #ff8080;
float: right;
margin-top: 13px;
animation-duration: 1s;
animation-iteration-count: infinite;
}
.openwebrx-slider-button svg {

View File

@ -83,14 +83,11 @@ function toggleRecording() {
if (audioEngine.recording) {
audioEngine.stopRecording();
$recButton.css('background', '');
$recButton.css('color', '');
$recButton.css('animation-name', '');
} else {
audioEngine.startRecording();
$recButton.css('background', '#ff0000');
$recButton.css('color', '#ffffff');
$recButton.css('animation-name', 'openwebrx-record-animation');
}
}
function zoomInOneStep() {