Skip to content

I have a few questions about the approximateBelowMaximumCanvasSizeOfBrowser method #235

@wayward-man

Description

@wayward-man
  • Why use the while gradual approximation method instead of directly using max (min, max) to set the width and height to the limit values and another proportional scaling,the gradually approaching final result is also like this。
  • I see that you compare sizes using the method of size=w x h. So, may I ask if one side exceeds the browser limit while the other side is relatively small, it can still pass the test, but in reality, it will still cause the browser to crash

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