-
Notifications
You must be signed in to change notification settings - Fork 32
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
我测试微信小程序下全屏情况下卡顿 #6
Comments
安卓手机,预览或真机调试 |
+1,苹果真机也有这个问题 |
关闭撤销功能就不会卡顿了,开启时每次在move开始的时候都会创建一个image实例保存当前canvas中的绘制,在这里花费时间有点多 |
微信小程序基础库低版本没问题,低于或等于2.33.0 不会卡顿,但是现在用户基础库版本都比较高,且开发者无法控制用户基础库版本我现在用3.5.1的版本真机会卡顿,开发者工具没问题 |
实测,设置getImagePath为null,起笔不会卡顿了,撤销功能不可用了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
全屏模式下会有明显的卡顿,丢失部分笔记路径的情况。
一个比较容易复现的方式就是,全屏模式下,快速连续划多个横线。例如写5个中文“一”。就会出现横线显示不全的情况。
但如果连续的一笔在屏幕快速乱划并不会卡顿,只是在连续多个笔画时出现(中间有触控结束,再重新开始新的触控)。
非全屏模式这种情况相对来说不是特别明显。
The text was updated successfully, but these errors were encountered: