mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
remove all trace of cursor stacks; canvas cursor is always "just set"
This commit is contained in:
parent
5b112e489b
commit
98c9c03e9f
22 changed files with 55 additions and 306 deletions
|
|
@ -537,8 +537,7 @@ Editor::Editor ()
|
|||
|
||||
_group_tabs->signal_scroll_event().connect (sigc::mem_fun(*this, &Editor::control_layout_scroll), false);
|
||||
|
||||
/* Push default cursor to ever-present bottom of cursor stack. */
|
||||
push_canvas_cursor (nullptr);
|
||||
set_canvas_cursor (nullptr);
|
||||
|
||||
ArdourCanvas::GtkCanvas* time_pad = manage (new ArdourCanvas::GtkCanvas ());
|
||||
|
||||
|
|
@ -2095,8 +2094,6 @@ Editor::set_edit_point_preference (EditPoint ep, bool force)
|
|||
edit_point_selector.set_text (str);
|
||||
}
|
||||
|
||||
update_all_enter_cursors();
|
||||
|
||||
if (!force && !changed) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -5673,11 +5670,7 @@ Editor::ui_parameter_changed (string parameter)
|
|||
EditingContext::ui_parameter_changed (parameter);
|
||||
|
||||
if (parameter == "icon-set") {
|
||||
while (!_cursor_stack.empty()) {
|
||||
_cursor_stack.pop_back();
|
||||
}
|
||||
_cursors->set_cursor_set (UIConfiguration::instance().get_icon_set());
|
||||
_cursor_stack.push_back(nullptr);
|
||||
content_right_pane.set_drag_cursor (*PublicEditor::instance().cursors()->expand_left_right);
|
||||
editor_summary_pane.set_drag_cursor (*_cursors->expand_up_down);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue