From a61560f1193795774e55dd8677537f9112f0aecb Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 14 Aug 2016 14:36:34 -0300 Subject: [PATCH] eeshow/gui.c (on_draw_event): don't reverse direction at end of history --- eeshow/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeshow/gui.c b/eeshow/gui.c index 1237079..0716ce5 100644 --- a/eeshow/gui.c +++ b/eeshow/gui.c @@ -211,9 +211,10 @@ static gboolean on_draw_event(GtkWidget *widget, cairo_t *cr, overlay_draw_all(ctx->sheet_overlays, cr, SHEET_OVERLAYS_X, SHEET_OVERLAYS_Y); - overlay_draw_all(ctx->hist_overlays, cr, + overlay_draw_all_d(ctx->hist_overlays, cr, VCS_OVERLAYS_X, - VCS_OVERLAYS_Y + (ctx->showing_history ? ctx->hist_y_offset : 0)); + VCS_OVERLAYS_Y + (ctx->showing_history ? ctx->hist_y_offset : 0), + 0, 1); overlay_draw_all(ctx->pop_overlays, cr, ctx->pop_x, ctx->pop_y); return FALSE;