Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

功能提示 #460

Open
vibeme opened this issue Jan 23, 2024 · 2 comments
Open

功能提示 #460

vibeme opened this issue Jan 23, 2024 · 2 comments

Comments

@vibeme
Copy link

vibeme commented Jan 23, 2024

  • 你当前是什么框架(必填):原生微信小程序
  • 你使用的是哪个包(必填):原生微信小程序
  • 你当前插件的版本(必填):0.0.7
  • 当前环境是小程序还是浏览器(选填):小程序
  • 详细描述你的bug 文档里面说“在第一次开始游戏之后: 每次结束游戏都会切换成图片来显示”,但是我这边需要做一个重复抽奖,用户可以根据别的配置切换奖品选项,如果切换成图片显示的话就无法响应用户的切换,可以设置让用户自己选择游戏结束后是否切换成图谱显示吗?感谢。
    f587ba475798c495050a98cd52456c5
  • 问题代码(重要):
// 代码开始, 别再放歪了行吗

// 代码结束
@scancode911
Copy link

scancode911 commented Feb 7, 2024

是因为canvas层级的问题才这样做的, 现在原生小程序已经没有这个层级的问题的 所以作者也可以把这个显示图片给去掉了 , 在作者没去掉前你可以这样做.
image

详见#462

@buuing
Copy link
Owner

buuing commented Feb 7, 2024

可以尝试这样搞, 但我依旧怀疑腾讯的代码能力, 所以我这边暂时保留图片替换canvas的逻辑, 至于不能实时渲染的问题, 可以手动调用一次隐藏图片, 再调用一次显示图片, 即可渲染最新的canvas数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants