mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
[Summary] Making changes in selection status of SKIP markers visible (text color changes)
This commit is contained in:
parent
e482d83de6
commit
0e64edb42f
1 changed files with 11 additions and 3 deletions
|
|
@ -520,11 +520,19 @@ Marker::set_selected (bool yn)
|
|||
if(yn != _selected) {
|
||||
_selected = yn;
|
||||
/* only show selection status for non-skip (range) markers */
|
||||
if (_location && !_location->is_skip()) {
|
||||
if (_location) {
|
||||
if (yn) {
|
||||
set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected());
|
||||
if (!_location->is_skip()) {
|
||||
set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected());
|
||||
} else {
|
||||
use_color ();
|
||||
}
|
||||
} else {
|
||||
reset_color ();
|
||||
if (!_location->is_skip()) {
|
||||
reset_color ();
|
||||
} else {
|
||||
use_color ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue