mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix programmatic scroll closing detail pane
This commit is contained in:
parent
e234eb18d9
commit
81eabdf332
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class _ViewerState extends State<Viewer> with TickerProviderStateMixin {
|
|||
shouldAnimate: true);
|
||||
});
|
||||
});
|
||||
} else {
|
||||
} else if (scrollPos.userScrollDirection == ScrollDirection.forward) {
|
||||
// downward, close the pane
|
||||
Future.delayed(Duration.zero, () {
|
||||
_closeDetailPane(_pageController.page.toInt(), shouldAnimate: true);
|
||||
|
|
Loading…
Reference in a new issue