From 5b1455070f1c337174919ea90d6cebe8d1b67bc6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 May 2015 14:01:50 +0200 Subject: [PATCH] (GLUI) Translucent selection bar looks a bit more correct now --- menu/drivers/glui.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index 584a34c762..9220212f14 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -376,19 +376,21 @@ static void glui_frame(void) get_title(label, dir, menu_type, title, sizeof(title)); - glui_render_quad(gl, 0, - menu->header_height - menu->scroll_y + glui->line_height * - menu->navigation.selection_ptr, - global->video_data.width, glui->line_height, 1, 1, 1, 0.1); font_driver = driver->font_osd_driver; menu_display_font_bind_block(menu, font_driver, &glui->list_block); + glui_render_menu_list(runloop, glui, menu, normal_color, hover_color); menu_display_font_flush_block(menu, font_driver); + glui_render_quad(gl, 0, + menu->header_height - menu->scroll_y + glui->line_height * + menu->navigation.selection_ptr, + global->video_data.width, glui->line_height, 1, 1, 1, 0.1); + runloop->frames.video.current.menu.animation.is_active = true; runloop->frames.video.current.menu.label.is_updated = false; runloop->frames.video.current.menu.framebuf.dirty = false;