mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Merge branch 'wip/chergert/revert-top-margin' into 'master'
Revert "textview: fix yoffset position when top_margin is set" See merge request GNOME/gtk!3828
This commit is contained in:
commit
f328ab9d83
@ -4892,7 +4892,7 @@ changed_handler (GtkTextLayout *layout,
|
||||
|
||||
gtk_text_layout_get_line_yrange (layout, &first, &new_first_para_top, NULL);
|
||||
|
||||
old_first_para_top = priv->yoffset - priv->first_para_pixels;
|
||||
old_first_para_top = priv->yoffset - priv->first_para_pixels + priv->top_margin;
|
||||
|
||||
if (new_first_para_top != old_first_para_top)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user