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

recwave-Histogram3可视化问题 #202

Open
yuhahahahaha opened this issue Dec 11, 2023 · 3 comments
Open

recwave-Histogram3可视化问题 #202

yuhahahahaha opened this issue Dec 11, 2023 · 3 comments

Comments

@yuhahahahaha
Copy link

你好,uniapp开发微信小程序,ios真机调试中canvas只显示右侧一半的问题(镜像模式mirrorEnable已开启),安卓机没有这个情况

@xiangyuecn
Copy link
Owner

测试了一下,iOS小程序上是有这个问题,看起来是微信iOS上的canvas没有实现 drawImage(canvas) 方法,目前没有好的解决办法,只能改绘图代码 将镜像部分通过代码重新绘制,丢弃drawImage方法

@yuhahahahaha
Copy link
Author

yuhahahahaha commented Dec 11, 2023 via email

@xiangyuecn
Copy link
Owner

新版本 1.3.23121700 的 FrequencyHistogramView 已修复这个问题,删除了drawImage方法的调用

> 已知问题:iOS上微信小程序基础库存在bug,canvas.drawImage(canvas)可能无法绘制,可能会导致可视化插件WaveSurferView在iOS小程序上不能正确显示,其他可视化插件、Android、开发工具均无此兼容性问题;相关链接:[issues#202](https://github.com/xiangyuecn/Recorder/issues/202)[社区内2023-11-16说在修](https://developers.weixin.qq.com/community/develop/doc/000aaca2148dc8a235a0fb8c66b000)

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

2 participants