mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-28 04:14:08 +03:00
RISC OS: y scroll is negative.
This commit is contained in:
parent
f984873799
commit
54daff0e97
@ -846,8 +846,12 @@ ro_cw_scroll_visible(struct core_window *cw, const struct rect *r)
|
||||
return;
|
||||
}
|
||||
|
||||
state.xscroll = r->x0 * 2;
|
||||
state.yscroll = r->y0 * 2;
|
||||
/* TODO:
|
||||
* Scroll so the area is brought into view, not just the top left of
|
||||
* the rectangle. See `nsgtk_cw_scroll_visible`.
|
||||
*/
|
||||
state.xscroll = -r->x0 * 2;
|
||||
state.yscroll = -r->y0 * 2;
|
||||
|
||||
ro_cw_open(PTR_WIMP_OPEN(&state));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user