Commit 3270b089 authored by Adrien Plazas's avatar Adrien Plazas Committed by Guido Gunther

squeezer: Support animation disablement

This will animate the child transitions only if animations are enabled.

Fixes #140.
parent bbb5fc98
Pipeline #29088 passed with stages
in 10 minutes and 11 seconds
......@@ -236,6 +236,7 @@ hdy_squeezer_start_transition (HdySqueezer *self,
GtkWidget *widget = GTK_WIDGET (self);
if (gtk_widget_get_mapped (widget) &&
hdy_get_enable_animations (widget) &&
transition_type != HDY_SQUEEZER_TRANSITION_TYPE_NONE &&
transition_duration != 0 &&
priv->last_visible_child != NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment