Paper.js won't resize the canvas correctly

后端 未结 3 627
忘掉有多难
忘掉有多难 2021-02-02 08:29

I\'m trying out Paper.js for fun, but it seems I\'m already stuck at the very start.

Adding resize=\"true\" to the canvas tag is supposed to ma

3条回答
  •  旧巷少年郎
    2021-02-02 09:18

    I opened an issue for this on Github and it seems that this is a bug introduced in 0.9.22. @Skalkaz pointed me this question.

    Here is the pending issue: https://github.com/paperjs/paper.js/issues/662.

    You can also downgrade to 0.9.21 while waiting for a patch.

提交回复
热议问题