Arbitrary Google Swiffy Canvas Size / Off Screen Rendering

后端 未结 3 413
隐瞒了意图╮
隐瞒了意图╮ 2020-12-11 11:31

I\'m using Swiffy to render onto a hidden canvas so that I can take the result and use it elsewhere. The problem I\'m running into is that when I resize the container div fo

3条回答
  •  一个人的身影
    2020-12-11 11:46

    If your swiffy runtime version is 7.3, you can hack the js directly.

    Just remove or comment "b.xj(c);" in g.Tp() function. I don't care any advantage of offscreen rendering. At least, it works now.

    I think it's a serious bug.

    Note that it's good in iframe, no need to hack.

提交回复
热议问题