small is beautiful
authorRobin Gareus <robin@gareus.org>
Tue, 19 Apr 2016 11:31:41 +0000 (13:31 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 19 Apr 2016 11:31:41 +0000 (13:31 +0200)
...but I need new glasses
to tweak thru-via drawing for <=100% GUI scaling

gtk2_ardour/processor_box.cc

index 1c94d0c054fe96c9f862beff8bf44fe26b4d82fe..be6bfb0b54ee0b703a991503d3948bdbdf84c53c 100644 (file)
@@ -1209,7 +1209,7 @@ ProcessorEntry::RoutingIcon::draw_sidechain (cairo_t* cr, double x0, double y0,
 void
 ProcessorEntry::RoutingIcon::draw_thru_src (cairo_t* cr, double x0, double y0, double height, bool midi)
 {
-       const double rad = 2;
+       const double rad = 1;
        const double y1 = height - rad - 1.5;
 
        cairo_arc (cr, x0, y0 + y1, rad, 0, 2. * M_PI);
@@ -1223,7 +1223,7 @@ ProcessorEntry::RoutingIcon::draw_thru_src (cairo_t* cr, double x0, double y0, d
 void
 ProcessorEntry::RoutingIcon::draw_thru_sink (cairo_t* cr, double x0, double y0, double height, bool midi)
 {
-       const double rad = 2;
+       const double rad = 1;
        const double y1 = rad + 1;
 
        cairo_arc (cr, x0, y0 + y1, rad, 0, 2. * M_PI);