[gtk+/wip/baedert/drawing: 65/143] revealer: Don't add a clip node for CROSSFADE transitions
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 65/143] revealer: Don't add a clip node for CROSSFADE transitions
- Date: Fri, 19 May 2017 13:28:53 +0000 (UTC)
commit e1cdfbd693a471d4c3d7ffec92d8e193728c5c93
Author: Timm Bäder <mail baedert org>
Date: Fri May 5 18:41:30 2017 +0200
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.
gtk/gtkrevealer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c
index b7140b5..a42b862 100644
--- a/gtk/gtkrevealer.c
+++ b/gtk/gtkrevealer.c
@@ -842,7 +842,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]