Views.Thread: Fix scrolling to root post

This commit is contained in:
Bleak Grey 2020-10-24 06:56:04 +03:00
parent f9663c75ad
commit 877232945c
1 changed files with 1 additions and 1 deletions

View File

@ -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 ();