mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 01:47:43 +01:00
Fix cursor update on nested entry.
For example, if you're in a note and something about the mode changes, it's the underlying region context that needs to change. So, seems we need a stack of entry contexts to deal with this sort of thing. Switching in/out of smart mode still doesn't update immediately because we don't have the y-coordinate needed to update it.
This commit is contained in:
parent
e00c579fb2
commit
62355de33a
6 changed files with 77 additions and 34 deletions
|
|
@ -373,7 +373,6 @@ Editor::Editor ()
|
|||
current_stepping_trackview = 0;
|
||||
entered_track = 0;
|
||||
entered_regionview = 0;
|
||||
_entered_item_type = NoItem;
|
||||
entered_marker = 0;
|
||||
clear_entered_track = false;
|
||||
current_timefx = 0;
|
||||
|
|
@ -2122,9 +2121,7 @@ Editor::set_edit_point_preference (EditPoint ep, bool force)
|
|||
edit_point_selector.set_text (str);
|
||||
}
|
||||
|
||||
if (_entered_item_type != NoItem) {
|
||||
choose_canvas_cursor_on_entry (_entered_item_type);
|
||||
}
|
||||
update_all_enter_cursors();
|
||||
|
||||
if (!force && !changed) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue