mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
tempo display: further simplifications to handling map changes
When a tempo map change originates from a drag, we know the required redraws have already been done. Use a new bool member, ignore_map_change, to tell the Editor to ignore the map change signal. For all other map changes, do the full reset.
This commit is contained in:
parent
32a3bf229e
commit
bf87916fb1
4 changed files with 24 additions and 26 deletions
|
|
@ -388,6 +388,7 @@ Editor::Editor ()
|
|||
, lock_dialog (0)
|
||||
/* , last_event_time { 0, 0 } */ /* this initialization style requires C++11 */
|
||||
, _dragging_playhead (false)
|
||||
, ignore_map_change (false)
|
||||
, _follow_playhead (true)
|
||||
, _stationary_playhead (false)
|
||||
, _maximised (false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue