Skip to content

Commit

Permalink
feat(ScaleRevealer): finish crossfade early
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Sep 22, 2024
1 parent 1f46223 commit e7c02ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/ScaleRevealer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 (),
Expand Down

0 comments on commit e7c02ae

Please sign in to comment.