Skip to content

I have a few questions about the approximateBelowMaximumCanvasSizeOfBrowser method #235

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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