Merge branch 'gtktreeview-adjustment' into 'main'

treeview: Do not set top row adjustment value while animating

Closes #4550

See merge request GNOME/gtk!4940
This commit is contained in:
Matthias Clasen 2022-08-14 22:40:32 +00:00
commit bebaac64e1

View File

@ -6493,6 +6493,9 @@ gtk_tree_view_top_row_to_dy (GtkTreeView *tree_view)
if (priv->in_top_row_to_dy)
return;
if (gtk_adjustment_is_animating (priv->vadjustment))
return;
if (priv->top_row)
path = gtk_tree_row_reference_get_path (priv->top_row);
else