mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
minor tweaks when drawing triggerbox entries in GUI
This commit is contained in:
parent
ff6cced4a5
commit
5348544482
1 changed files with 1 additions and 3 deletions
|
|
@ -395,11 +395,10 @@ TriggerEntry::draw_launch_icon (Cairo::RefPtr<Cairo::Context> context, float sz,
|
|||
if (active) {
|
||||
set_source_rgba (context, UIConfiguration::instance ().color ("neutral:foreground"));
|
||||
context->fill ();
|
||||
context->stroke ();
|
||||
} else {
|
||||
set_source_rgba (context, UIConfiguration::instance ().color ("neutral:midground"));
|
||||
context->stroke ();
|
||||
}
|
||||
context->stroke ();
|
||||
break;
|
||||
case Trigger::ReTrigger:
|
||||
/* line + boxy arrow + line */
|
||||
|
|
@ -526,7 +525,6 @@ TriggerEntry::render (ArdourCanvas::Rect const& area, Cairo::RefPtr<Cairo::Conte
|
|||
{
|
||||
context->save ();
|
||||
context->translate (self.x0, self.y0 - 0.5);
|
||||
context->translate (0, 0); // left side of the widget
|
||||
draw_launch_icon (context, height, scale);
|
||||
context->restore ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue