diff options
author | Adrian Lees <adrian@aemulor.com> | 2005-04-13 22:02:28 +0000 |
---|---|---|
committer | Adrian Lees <adrian@aemulor.com> | 2005-04-13 22:02:28 +0000 |
commit | d656bcc592fa02804d40fccd45271e12ba7ed923 (patch) | |
tree | eeed9cd1ff5ced30e86da25731c6f241bd1aa6a3 /riscos | |
parent | 11bc5345c5faf42a5b99623ee24b1a91ca181fd6 (diff) | |
download | netsurf-d656bcc592fa02804d40fccd45271e12ba7ed923.tar.gz netsurf-d656bcc592fa02804d40fccd45271e12ba7ed923.tar.bz2 |
[project @ 2005-04-13 22:02:28 by adrianl]
Fix scrolling to tags with scaled display
svn path=/import/netsurf/; revision=1628
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c index ff5036359..938a827b6 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -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); |