From a66eac7a129259c998b3153492d4e72400a55456 Mon Sep 17 00:00:00 2001 From: Andrei Misiukevich Date: Wed, 20 Dec 2023 03:46:46 +0300 Subject: [PATCH] cleanup --- PanCardView/Common/CardsView.cs | 11 ++++++----- .../Common/Views/CoverFlowSampleXamlView.xaml | 8 +------- README.md | 2 +- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/PanCardView/Common/CardsView.cs b/PanCardView/Common/CardsView.cs index 72486a9..c5be203 100644 --- a/PanCardView/Common/CardsView.cs +++ b/PanCardView/Common/CardsView.cs @@ -832,11 +832,12 @@ protected virtual void SetupBackViews(int? index = null) protected virtual void SetupLayout(params View[] views) { - foreach (var view in views.Where(v => v != null)) - { - AbsoluteLayout.SetLayoutBounds(view, new Rect(0, 0, 1, 1)); - AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All); - } + // Setup layout if needed + // foreach (var view in views.Where(v => v != null)) + // { + // AbsoluteLayout.SetLayoutBounds(view, new Rect(0, 0, 1, 1)); + // AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All); + // } } protected virtual void SetSelectedItem() diff --git a/PanCardViewSample/PanCardViewSample/Common/Views/CoverFlowSampleXamlView.xaml b/PanCardViewSample/PanCardViewSample/Common/Views/CoverFlowSampleXamlView.xaml index 6075aa0..ef9dd82 100644 --- a/PanCardViewSample/PanCardViewSample/Common/Views/CoverFlowSampleXamlView.xaml +++ b/PanCardViewSample/PanCardViewSample/Common/Views/CoverFlowSampleXamlView.xaml @@ -15,7 +15,6 @@ - - -