[project @ 2005-04-13 22:02:28 by adrianl]

Fix scrolling to tags with scaled display

svn path=/import/netsurf/; revision=1628
This commit is contained in:
Adrian Lees 2005-04-13 22:02:28 +00:00
parent 11bc5345c5
commit d656bcc592
1 changed files with 2 additions and 2 deletions

View File

@ -722,8 +722,8 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
return;
}
state.xscroll = sx * 2;
state.yscroll = -sy * 2;
state.xscroll = sx * 2 * g->option.scale;
state.yscroll = -sy * 2 * g->option.scale;
if (g->toolbar)
state.yscroll += ro_gui_theme_toolbar_full_height(g->toolbar);
ro_gui_window_open(g, (wimp_open *) &state);