From df3ff02bd551adab5da7a5f5b784a61b6c4de2b8 Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Fri, 10 Feb 2017 16:04:24 +0000 Subject: [PATCH] Replicated the ScrollSnap fix (#91) to the VSS --HG-- branch : develop_5.3 --- Scripts/Layout/VerticalScrollSnap.cs | 1 + node_modules.meta | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 node_modules.meta diff --git a/Scripts/Layout/VerticalScrollSnap.cs b/Scripts/Layout/VerticalScrollSnap.cs index b563b46..2191eaa 100644 --- a/Scripts/Layout/VerticalScrollSnap.cs +++ b/Scripts/Layout/VerticalScrollSnap.cs @@ -181,6 +181,7 @@ namespace UnityEngine.UI.Extensions DistributePages(); if (MaskArea) UpdateVisible(); SetScrollContainerPosition(); + OnCurrentScreenChange(_currentPage); } private void OnRectTransformDimensionsChange() diff --git a/node_modules.meta b/node_modules.meta deleted file mode 100644 index d2de5d9..0000000 --- a/node_modules.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 11b8dea2802a80b4390c55681c85d24f -folderAsset: yes -timeCreated: 1483877637 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: