[libadwaita/wip/exalm/fixes: 2/2] Revert "flap: avoid hiding flap widget when revealing it"




commit 19afa89d74c9bcd62888a0b68986d807d78ccd4f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Dec 7 00:32:14 2021 +0500

    Revert "flap: avoid hiding flap widget when revealing it"
    
    This reverts commit 128bf15e80ea0d1dc7eae1158ed5df09bca1db9a.

 src/adw-flap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-flap.c b/src/adw-flap.c
index 10a60f1a..7cebb3d5 100644
--- a/src/adw-flap.c
+++ b/src/adw-flap.c
@@ -226,7 +226,7 @@ set_orientation (AdwFlap        *self,
 static void
 update_child_visibility (AdwFlap *self)
 {
-  gboolean visible = self->reveal_flap || self->reveal_progress > 0;
+  gboolean visible = self->reveal_progress > 0;
 
   if (self->flap.widget)
     gtk_widget_set_child_visible (self->flap.widget, visible);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]