mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-09-27 21:23:15 +00:00
Views.Thread: Fix scrolling to root post
This commit is contained in:
parent
f9663c75ad
commit
877232945c
|
@ -61,7 +61,7 @@ public class Tootle.Views.Thread : Views.Base, IAccountListener {
|
|||
on_content_changed ();
|
||||
|
||||
int x,y;
|
||||
translate_coordinates (root_widget, 0, 0, out x, out y);
|
||||
translate_coordinates (root_widget, 0, header.get_allocated_height (), out x, out y);
|
||||
scrolled.vadjustment.value = (double)(y*-1);
|
||||
})
|
||||
.exec ();
|
||||
|
|
Loading…
Reference in a new issue