dylman123 / final-captions-pro

A MacOS app which automatically generates customisable open captions in Final Cut Pro X
1 stars 0 forks source link

Add/Removing Captions bug #41

Closed dylman123 closed 4 years ago

dylman123 commented 4 years ago

The List UI does not reflect the change when a caption is added / removed!

dylman123 commented 4 years ago

The problem was that, in CaptionRow.swift, I was holding var caption in a @State wrapper. This meant the caption persisted even once the row was removed. Once this @State wrapper was removed, the behaviour returned to normal.