Slightly more distinct beat/subdivision lines.
This commit is contained in:
parent
c1ccf8e28e
commit
2d3e6956e6
|
@ -487,7 +487,7 @@
|
|||
<Modifier name="ghost track midi fill" modifier="= alpha:0.228968"/>
|
||||
<Modifier name="inactive crossfade" modifier="= alpha:0.4666"/>
|
||||
<Modifier name="loop rectangle" modifier="= alpha:0.9764"/>
|
||||
<Modifier name="measure line beat" modifier="= alpha:0.4627"/>
|
||||
<Modifier name="measure line beat" modifier="= alpha:0.8"/>
|
||||
<Modifier name="midi frame base" modifier="= alpha:0.4"/>
|
||||
<Modifier name="midi note" modifier="= alpha:0.686905"/>
|
||||
<Modifier name="midi note velocity text" modifier="= alpha:0.4666"/>
|
||||
|
|
|
@ -72,7 +72,7 @@ TempoLines::draw_ticks (const ARDOUR::TempoMap::BBTPointList::const_iterator& b,
|
|||
}
|
||||
|
||||
/* draw line with alpha corresponding to coarsest level */
|
||||
const uint8_t a = max(0, (int)rint(UINT_RGBA_A(base) / log2(level)));
|
||||
const uint8_t a = max(0, (int)rint(UINT_RGBA_A(base) / (0.75 * log2(level))));
|
||||
const uint32_t c = UINT_RGBA_CHANGE_A(base, a);
|
||||
const framepos_t f = b->frame + (l * (fpb / (double)divisions));
|
||||
if (f > leftmost_frame) {
|
||||
|
|
Loading…
Reference in New Issue