Commit graph

13 commits

Author SHA1 Message Date
Paul Davis
28e0082868 use std::unique_ptr for a couple of EditingContext members 2025-08-08 12:12:09 -06:00
Paul Davis
fac9a924bf more work on velocity color/sensitivity display 2025-02-01 19:38:40 -07:00
Paul Davis
eb3935a11f various changes to get event sensitivity and cursors with pianoroll velocity/automation working better 2025-02-01 13:31:39 -07:00
Paul Davis
c4af078acb prevent crashes in pianoroll when showing velocity
Crash caused by an assumption that all automation has a line
2025-01-27 10:24:03 -07:00
Paul Davis
cdf88efeff fix crash caused by VelocityDisplay _optimization_iterator
Never use the _optimization_iterator when looking for a note to update or select
because those two conditions may be preceded by note add/delete operations (including
those via undo/redo) which would make the iterator invalid.

The _optimization_iterator only makes sense when actually iterating over the event list,
which is ironic because that's the one time we don't need it
2024-11-10 12:44:05 -07:00
Paul Davis
c08cfa8109 more work on multiple automation display 2024-11-08 12:16:09 -07:00
Paul Davis
bbdb6b0e63 more extensive automation display design for cue editor 2024-11-07 16:10:31 -07:00
Paul Davis
76104f994b velocity display: clear must invalidate optimization iterator 2024-10-17 07:44:31 -06:00
Paul Davis
a44e8ac088 fix drawing of lollipops.
There may be more virtual GhostRegion methods that VelocityGhostRegion has to proxy
to VelocityDisplay
2024-10-17 07:44:31 -06:00
Paul Davis
54fdf90cc2 lots of detailed fixes to get lollipops in tracks working again, post re-factor 2024-10-17 07:44:31 -06:00
Paul Davis
fa993ec9f4 various fixes to get lollipops to display (cue editor only so far) 2024-10-17 07:44:31 -06:00
Paul Davis
0399cd9d02 initial use of refactored VelocityDisplay 2024-10-17 07:44:31 -06:00
Paul Davis
96e074d78c refactor velocity display so that it can be used in the editor and elsewhere 2024-10-17 07:44:31 -06:00