FIX: lỗi hiển thị icon của các nút ở track TCP
This commit is contained in:
+3
-13
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user