forked from AuroraMiddleware/gtk
treeview: Do not set top row adjustment value while animating
gtk_tree_view_top_row_to_dy, which is called from GtkTreeView's size_allocate function, changes the adjustment value. Since this conflicts with the animation when changing the active row, bail out until the animation is finished. Fixes #4550
This commit is contained in:
parent
378ae4fbc1
commit
b4ade026f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user