From e7c02ae10ddb7807e7e4be87e8365bb15b3ecbf4 Mon Sep 17 00:00:00 2001 From: Evan Paterakis Date: Sun, 22 Sep 2024 20:37:50 +0300 Subject: [PATCH] feat(ScaleRevealer): finish crossfade early --- src/Widgets/ScaleRevealer.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/ScaleRevealer.vala b/src/Widgets/ScaleRevealer.vala index d9f84699e..dbe12a487 100644 --- a/src/Widgets/ScaleRevealer.vala +++ b/src/Widgets/ScaleRevealer.vala @@ -139,7 +139,7 @@ public class Tuba.Widgets.ScaleRevealer : Adw.Bin { this.snapshot_child (this.child, snapshot); } else { if (progress > 0.0) { - snapshot.push_cross_fade (progress); + snapshot.push_cross_fade (progress > 0.2 ? 1.0 : progress); source_widget_texture.snapshot ( snapshot, this.get_width (),