ValueTree with two kinds of data in it: managed with and without UndoManager

Let’s say a DAW audio track with all its content is stored in ValueTree. That ValueTree is used with UndoManager.

If I also wanted to store a property containing the track height on screen (pixels) into that same ValueTree WITHOUT using UndoManager, will that cause problems? When Undo/Redo is called, what happens to that property? Will it stay in the ValueTree or does it disappear suddenly?

I don’t think that should cause any problems, I don’t expect anything will happen to that property.

1 Like

Good. Thanks! :slight_smile: