aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-sampler.lv2')
-rw-r--r--plugins/eg-sampler.lv2/sampler_ui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c
index 2373a4d..5723223 100644
--- a/plugins/eg-sampler.lv2/sampler_ui.c
+++ b/plugins/eg-sampler.lv2/sampler_ui.c
@@ -123,6 +123,9 @@ on_canvas_expose(GtkWidget* widget, GdkEventExpose* event, gpointer data)
cairo_t* cr = gdk_cairo_create(gtk_widget_get_window(widget));
+ cairo_set_line_width(cr, 1.0);
+ cairo_translate(cr, 0.5, 0.5);
+
const int mid_y = size.height / 2;
const float* const peaks = ui->precv.peaks;