Skip to content

Calculation of current page doesn't work properly in some cases #12

@SoftXperience

Description

@SoftXperience

I have a page view control, which is not used on full screen. It starts with y-offset at 200 and has a height about 368. So, center of the view is at (160, 384).
In _calculateCurrentPage the actual frame of a page is calculated correctly with the size (320,368).
But as the y-pos (384) of the center is not within the frame, it never returns the correct current page.

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