Skip to content

About roundf() in RDVTabBarItem #105

@kirinzer

Description

@kirinzer

Description

I found that use roundf() to calculate rect in RDVTabBarItem is not perfect. Image and title have a different center point in the horizontal. I use floor() to replace roundf(). It works fine. Image and title look like on the right position.

So, could you tell me why not you choice floor()? Thx.

Steps to Reproduce

Use iPhone Plus, X and X Max can reproduce it.

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