mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Fix drawing the selection.
svn path=/trunk/netsurf/; revision=5508
This commit is contained in:
parent
c31a54788e
commit
8b992259f1
@ -911,6 +911,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
|
||||
|
||||
plot = nsbeos_plotters;
|
||||
nsbeos_plot_set_scale(g->bw->scale);
|
||||
current_redraw_browser = g->bw;
|
||||
content_redraw(c, 0, 0,
|
||||
(view->Bounds().Width() + 1) * scale,
|
||||
(view->Bounds().Height() + 1) * scale,
|
||||
@ -919,6 +920,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
|
||||
(int)updateRect.right + 1,
|
||||
(int)updateRect.bottom + 1,
|
||||
g->bw->scale, 0xFFFFFF);
|
||||
current_redraw_browser = NULL;
|
||||
|
||||
if (g->careth != 0)
|
||||
nsbeos_plot_caret(g->caretx, g->carety, g->careth);
|
||||
|
Loading…
Reference in New Issue
Block a user