Skip to content

Commit

Permalink
fix: propagate rect in getOffsetToRevealExt (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp authored Mar 26, 2024
1 parent 97c723e commit 2d7e113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/sliver_extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ extension RenderViewportExt on RenderAbstractViewport {
axis: axis,
);
OffsetToRevealContext._contexts.add(context);
var result = getOffsetToReveal(target, alignment);
var result = getOffsetToReveal(target, alignment, rect: rect);
OffsetToRevealContext._contexts.removeLast();
final obstruction = target.getParentChildObstructionExtent();

Expand Down

0 comments on commit 2d7e113

Please sign in to comment.