Explorar o código

Refactor and update scroll animations

Ruben %!s(int64=2) %!d(string=hai) anos
pai
achega
f9a2ff3bab
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/PicView/PicGallery/GalleryNavigation.cs

+ 0 - 3
src/PicView/PicGallery/GalleryNavigation.cs

@@ -71,9 +71,6 @@ internal static class GalleryNavigation
         if (!GalleryFunctions.IsGalleryOpen) return;
 
         if (GetPicGallery.Container.Children.Count < FolderIndex || GetPicGallery.Container.Children.Count <= 0) { return; }
-
-        GetPicGallery.Scroller.CanContentScroll = false; // Enable animations
-        GetPicGallery.Scroller.ScrollToHorizontalOffset(CenterScrollPosition);
         GetPicGallery.Scroller.ScrollToHorizontalOffset(CenterScrollPosition);
     }