mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
[Summary] When setting Play Loop range marker active/inactive, do not update it’s visual state.
This commit is contained in:
parent
8ad8136187
commit
d5d967cc24
1 changed files with 6 additions and 6 deletions
|
|
@ -522,16 +522,16 @@ Marker::set_selected (bool yn)
|
|||
/* only show selection status for non-skip (range) markers */
|
||||
if (_location) {
|
||||
if (yn) {
|
||||
if (!_location->is_skip()) {
|
||||
set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected());
|
||||
} else {
|
||||
if (_location->is_skip() || _location->is_auto_loop()) {
|
||||
use_color ();
|
||||
} else {
|
||||
set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected());
|
||||
}
|
||||
} else {
|
||||
if (!_location->is_skip()) {
|
||||
reset_color ();
|
||||
} else {
|
||||
if (_location->is_skip() || _location->is_auto_loop()) {
|
||||
use_color ();
|
||||
} else {
|
||||
reset_color ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue