forked from AuroraMiddleware/gtk
revealer: Don't add a clip node for CROSSFADE transitions
We don't need them there as we just change the opacity of the revealer.
This commit is contained in:
parent
c76804b1f2
commit
04fcb1f17f
@ -785,7 +785,8 @@ gtk_revealer_snapshot (GtkWidget *widget,
|
||||
return;
|
||||
|
||||
transition = effective_transition (revealer);
|
||||
if (transition == GTK_REVEALER_TRANSITION_TYPE_NONE)
|
||||
if (transition == GTK_REVEALER_TRANSITION_TYPE_NONE ||
|
||||
transition == GTK_REVEALER_TRANSITION_TYPE_CROSSFADE)
|
||||
{
|
||||
gtk_widget_snapshot_child (widget, child, snapshot);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user