mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-28 09:51:36 +01:00
Add some buffer to the scroll threshold
This commit is contained in:
parent
c902d7ca20
commit
e234eb18d9
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ class _ViewerState extends State<Viewer> with TickerProviderStateMixin {
|
|||
_onDetailPaneClosed();
|
||||
});
|
||||
} else if (scrollPos.pixels <
|
||||
_calcDetailPaneOpenedScrollPosition(index)) {
|
||||
_calcDetailPaneOpenedScrollPosition(index) - 1) {
|
||||
if (scrollPos.userScrollDirection == ScrollDirection.reverse) {
|
||||
// upward, open the pane to its minimal size
|
||||
Future.delayed(Duration.zero, () {
|
||||
|
|
Loading…
Add table
Reference in a new issue