mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
toggle menu item when debug rendering is toggled.
svn path=/trunk/netsurf/; revision=13259
This commit is contained in:
parent
3f72673316
commit
4f4e7927bb
@ -261,7 +261,10 @@ static void __CDECL menu_debug_render(WINDOW *win, int item, int title, void *da
|
||||
if ( input_window->browser != NULL && input_window->browser->bw != NULL) {
|
||||
LGRECT rect;
|
||||
browser_get_rect( input_window, BR_CONTENT, &rect );
|
||||
browser_window_reformat(input_window->browser->bw, false, rect.g_w, rect.g_h );
|
||||
browser_window_reformat(input_window->browser->bw, false,
|
||||
rect.g_w, rect.g_h );
|
||||
MenuIcheck(NULL, MAINMENU_M_DEBUG_RENDER,
|
||||
(html_redraw_debug) ? 1 : 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user