FIX: lỗi hiển thị icon của các nút ở track TCP

This commit is contained in:
2026-07-31 07:09:54 +07:00
parent 468a1f11a4
commit bd296c63f1
2 changed files with 4 additions and 14 deletions
+3 -13
View File
@@ -15264,19 +15264,9 @@ const App = () => {
const toggleTrackSoloEvaluate = trackId => {
const wasPlaying = isPlaying;
stopAllPlayback();
setTracks(prev => prev.map(t => {
if (t.id === trackId) {
return {
...t,
solo: !t.solo,
muted: false
};
}
return {
...t,
solo: false
};
}));
setTracks(prev => prev.map(t =>
t.id === trackId ? { ...t, solo: !t.solo, muted: false } : t
));
if (wasPlaying) {
setTimeout(() => {
startOffsetTimeRef.current = currentTime;