Skip to content

onPan animation based on pan distance #113

@acegreen

Description

@acegreen

Hi,

I would like to adjust the view based on the view "infront" of it. Basically using the thresholdRatio. I want to grow the back view to the size of the front view as you pan. I am able to move it in X or Y but can't seem to crack the logic

Inputs:
frontView.frame
backView.frame
thresholdRatio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions