twyper icon indicating copy to clipboard operation
twyper copied to clipboard

Adding Alpha as you swipe

Open raghunandankavi2010 opened this issue 2 years ago • 0 comments

Is it good to have alpha as well when we drag the card?

Something like

   override val alphaValue: Float
    get() =   1 - (abs(swipeX.value)/ (screenWidth/2))

and

.graphicsLayer(alpha = cardController.alphaValue,

raghunandankavi2010 avatar Jul 17 '22 16:07 raghunandankavi2010