From dde5f820ea08828a500a096f53302e369a7388c1 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 9 Nov 2004 18:29:01 +0000 Subject: [project @ 2004-11-09 18:29:01 by rjw] Lose the flicker for themes with a left-aligned throbber svn path=/import/netsurf/; revision=1352 --- riscos/theme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/theme.c b/riscos/theme.c index c679e56f1..220296609 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -1238,11 +1238,12 @@ bool ro_gui_theme_process_toolbar(struct toolbar *toolbar, int width) { throbber_x, 0, throbber_x + toolbar->descriptor->theme->throbber_width, toolbar->height); - if (toolbar->descriptor->throbber_right) + if (toolbar->descriptor->throbber_right) { xwimp_force_redraw(toolbar->toolbar_handle, old_width - width + throbber_x, 0, 16384, 16384); xwimp_force_redraw(toolbar->toolbar_handle, throbber_x, 0, 16384, 16384); + } } else { xwimp_resize_icon(toolbar->toolbar_handle, ICON_TOOLBAR_THROBBER, -- cgit v1.2.3