Skip to content

Commit

Permalink
Merge pull request #12 from dodikk/sample/test-lock-states
Browse files Browse the repository at this point in the history
[bugfix] scroll-to-fullscreen issue workaround

Thanks for the help!
  • Loading branch information
galadril authored Apr 5, 2022
2 parents 81eef2e + b570b4f commit ee4927c
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
ExpandedPercentage="{Binding ExpandedPercentage}"
IsExpanded="{Binding IsExpanded}"
IsVisible="{Binding IsVisible}"
LockStates="{Binding LockStates}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,
Property=Height,
Factor=1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ public class MainPageViewModel : ObservableObject

/// <summary>
/// The bottom drawer lock states
///
/// Note: [alex-d] works incorrectly when more than 3 values
/// private double[] _LockStates = new double[] { 0, .30, 0.6, 0.95 };
/// </summary>
private double[] _LockStates = new double[] { 0, .50, 0.75 };


#endregion

Expand Down
Loading

0 comments on commit ee4927c

Please sign in to comment.