desensitize playhead by default, and make a new config variable 'sensitize-playhead'

Historically, it was possible to grab the 1-pix-wide red line, and drag the playhead
In rare but annoying cases, the red playhead interferes with mouse clicks, because it is on top
De-sensitize the playhead by default, and provide a new config var for those who want the old operation
This commit is contained in:
Ben Loftis 2023-05-01 07:59:04 -05:00
parent a7c4ab3247
commit dd08d12475
3 changed files with 5 additions and 5 deletions

View file

@ -6763,9 +6763,9 @@ Editor::ui_parameter_changed (string parameter)
edit_pane.set_drag_cursor (*_cursors->expand_left_right);
editor_summary_pane.set_drag_cursor (*_cursors->expand_up_down);
} else if (parameter == "draggable-playhead") {
if (_verbose_cursor) {
_playhead_cursor->set_sensitive (UIConfiguration::instance().get_draggable_playhead());
} else if (parameter == "sensitize-playhead") {
if (_playhead_cursor) {
_playhead_cursor->set_sensitive (UIConfiguration::instance().get_sensitize_playhead());
}
} else if (parameter == "use-note-bars-for-velocity") {
ArdourCanvas::Note::set_show_velocity_bars (UIConfiguration::instance().get_use_note_bars_for_velocity());