diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 67f1f0f448..28483cbc49 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -779,7 +779,9 @@ void skin_render_viewport(struct skin_element* viewport, struct gui_wps *gwps, | |||
779 | if (refresh_type && needs_update) | 779 | if (refresh_type && needs_update) |
780 | { | 780 | { |
781 | if (info.force_redraw) | 781 | if (info.force_redraw) |
782 | display->scroll_stop_viewport_line(&skin_viewport->vp, info.line_number); | 782 | display->scroll_stop_viewport_rect(&skin_viewport->vp, |
783 | 0, info.line_number*display->getcharheight(), | ||
784 | skin_viewport->vp.width, display->getcharheight()); | ||
783 | write_line(display, align, info.line_number, | 785 | write_line(display, align, info.line_number, |
784 | info.line_scrolls, info.text_style); | 786 | info.line_scrolls, info.text_style); |
785 | } | 787 | } |
@@ -967,8 +969,11 @@ void skin_render_playlistviewer(struct playlistviewer* viewer, | |||
967 | /* only update if the line needs to be, and there is something to write */ | 969 | /* only update if the line needs to be, and there is something to write */ |
968 | if (refresh_type && needs_update) | 970 | if (refresh_type && needs_update) |
969 | { | 971 | { |
972 | struct viewport *vp = SKINOFFSETTOPTR(skin_buffer, viewer->vp); | ||
970 | if (!info.force_redraw) | 973 | if (!info.force_redraw) |
971 | display->scroll_stop_viewport_line(&skin_viewport->vp, info.line_number); | 974 | display->scroll_stop_viewport_rect(vp, |
975 | 0, info.line_number*display->getcharheight(), | ||
976 | vp->width, display->getcharheight()); | ||
972 | write_line(display, align, info.line_number, | 977 | write_line(display, align, info.line_number, |
973 | info.line_scrolls, info.text_style); | 978 | info.line_scrolls, info.text_style); |
974 | } | 979 | } |