possibly solve vZoom/vScroll issue

move these to a new DivInstrumentTemp struct
this way, undo history is not altered every time these change

issue #2179
This commit is contained in:
tildearrow 2025-03-10 12:35:05 -05:00
parent b7a8745581
commit b46a60e96d
4 changed files with 82 additions and 111 deletions

View file

@ -358,7 +358,6 @@ void copyMacro(DivInstrument* ins, DivInstrumentMacro* from, int macro_type, int
to->len = from->len;
to->delay = from->delay;
to->lenMemory = from->lenMemory;
to->mode = from->mode;
to->rel = from->rel;
to->speed = from->speed;
@ -390,7 +389,6 @@ void copyMacro(DivInstrument* ins, DivInstrumentMacro* from, int macro_type, int
wave->len = to->len;
wave->delay = to->delay;
wave->lenMemory = to->lenMemory;
wave->mode = to->mode;
wave->rel = to->rel;
wave->speed = to->speed;