Skip to content

Panic when editor camera 2d viewport does not fit inside of bounds #90

@Dokkae6949

Description

@Dokkae6949

PR #88 introduced a crash by using the Aabb2d::shrink method since that is not safe to use and will panic if the viewport does not fit inside the bounds. The PR removed the old custom implementation of the shrink method which removed the panic and handled it manually. This needs to be reverted.

Here the change in question

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions