Skip to content

Consolidate screen size/density APIs #6340

@hartez

Description

@hartez

We currently have two competing APIs for determining display density and screen size - one from Essentials (with the DisplayInfo struct) and another in WindowHandler (using GetDisplayDensity()). Which is confusing, especially since they have differing opinions on what the density should be when a Window/Screen is not available.

We need to consolidate these APIs to reduce confusion and increase consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Taskneither bug nor feature but something that needs to be done in support of eitherarea-architectureIssues with code structure, SDK structure, implementation detailsproposal/underconsiderationt/housekeeping ♻︎

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions