Skip to content

Commit

Permalink
feat: editable list items
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoreilly committed Dec 29, 2024
1 parent 53a3e23 commit aabb2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TrackList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const TrackList: React.FC<TrackListProps> = ({
value={isDubbingService ? track.translated_text : track.text}
onChange={(e) => handleTextareaChange(track.id, e)}
onFocus={(e) => adjustTextareaHeight(e.target as HTMLTextAreaElement)}
readOnly={isDubbingService || track.deleted || !isMediaFullyLoaded}
readOnly={track.deleted || !isMediaFullyLoaded}
isDeleted={track.deleted}
/>
{!track.deleted ? (
Expand Down

0 comments on commit aabb2eb

Please sign in to comment.