mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix color and alpha of timestretch rect
This commit is contained in:
parent
6dbc0c0919
commit
b2e93b8fba
2 changed files with 4 additions and 3 deletions
|
|
@ -438,7 +438,7 @@
|
|||
<ColorAlias name="tempo marker" alias="color 19"/>
|
||||
<ColorAlias name="time axis frame" alias="color 4"/>
|
||||
<ColorAlias name="time axis view item base" alias="color 94"/>
|
||||
<ColorAlias name="time stretch fill" alias="color 26"/>
|
||||
<ColorAlias name="time stretch fill" alias="color 100"/>
|
||||
<ColorAlias name="time stretch outline" alias="color 94"/>
|
||||
<ColorAlias name="tracknumber label: fill" alias="color 34"/>
|
||||
<ColorAlias name="tracknumber label: fill active" alias="color 46"/>
|
||||
|
|
@ -508,7 +508,8 @@
|
|||
<Modifier name="stereo panner inverted" modifier="= alpha:0.7882"/>
|
||||
<Modifier name="stereo panner inverted bg" modifier="= alpha:0.7529"/>
|
||||
<Modifier name="time axis view item base" modifier="= alpha:0.7"/>
|
||||
<Modifier name="transparent region base" modifier="= alpha:0.5"/>
|
||||
<Modifier name="transparent region base" modifier="= alpha:0.5"/>
|
||||
<Modifier name="time stretch fill" modifier="= alpha:0.5"/>
|
||||
<Modifier name="verbose canvas cursor" modifier="= alpha:0.4666"/>
|
||||
</Modifiers>
|
||||
</Ardour>
|
||||
|
|
|
|||
|
|
@ -916,7 +916,7 @@ RouteTimeAxisView::show_timestretch (framepos_t start, framepos_t end, int layer
|
|||
|
||||
if (timestretch_rect == 0) {
|
||||
timestretch_rect = new ArdourCanvas::Rectangle (canvas_display ());
|
||||
timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("time stretch fill"));
|
||||
timestretch_rect->set_fill_color (ArdourCanvas::HSV (ARDOUR_UI::config()->color ("time stretch fill")).mod (ARDOUR_UI::config()->modifier ("time stretch fill")).color());
|
||||
timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("time stretch outline"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue