Only set the busy pointer after we've decided not to bail out early
This commit is contained in:
parent
cc321d5f63
commit
4011cc8671
|
@ -3599,8 +3599,6 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin,
|
|||
struct rect clip;
|
||||
int tile_x_scale = (int)(nsoption_int(redraw_tile_size_x) / gwin->bw->scale);
|
||||
int tile_y_scale = (int)(nsoption_int(redraw_tile_size_y) / gwin->bw->scale);
|
||||
|
||||
ami_set_pointer(gwin, GUI_POINTER_WAIT, false);
|
||||
|
||||
browserglob.shared_pens = &gwin->shared_pens;
|
||||
|
||||
|
@ -3634,6 +3632,8 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin,
|
|||
|
||||
// printf("%ld %ld %ld %ld\n",left, top, width, height);
|
||||
|
||||
ami_set_pointer(gwin, GUI_POINTER_WAIT, false);
|
||||
|
||||
for(y = top; y < (top + height); y += tile_y_scale) {
|
||||
clip.y0 = 0;
|
||||
clip.y1 = nsoption_int(redraw_tile_size_y);
|
||||
|
|
Loading…
Reference in New Issue