File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Xam.Plugin.SimpleBottomDrawer Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -316,14 +316,10 @@ object sender
316
316
, easing : Easing . SpringOut ) ;
317
317
}
318
318
319
- // Note: [alex-d] this.TranslationY might change due to this.TranslateTo()
319
+ // Note: [alex-d] |this.TranslationY| seems to not change due to |this.TranslateTo()|
320
+ // so it is ok to reuse the |tmpLockState| value
320
321
// -
321
- double dragDistanceY2 = e . TotalY + this . TranslationY ;
322
-
323
- #if DEBUG
324
- System . Console . WriteLine ( $ "[BottomDrawer] OnPanChanged() - call#2 GetClosestLockState({ dragDistanceY2 } )") ;
325
- #endif
326
- this . ExpandedPercentage = GetClosestLockStateAbsolute ( dragDistanceY2 ) ;
322
+ this . ExpandedPercentage = tmpLockState ;
327
323
this . isDragging = false ;
328
324
329
325
#if DEBUG
You can’t perform that action at this time.
0 commit comments