forked from AuroraMiddleware/gtk
Merge branch 'wip/chergert/fix-4134' into 'master'
textview: fix yoffset position when top_margin is set Closes #4134 See merge request GNOME/gtk!3801
This commit is contained in:
commit
06348a8517
@ -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 + priv->top_margin;
|
||||
old_first_para_top = priv->yoffset - priv->first_para_pixels;
|
||||
|
||||
if (new_first_para_top != old_first_para_top)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user