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

colors中的点位相似度6.4.0以后的版本都出现问题了 #262

Open
walkCCF opened this issue Oct 12, 2024 · 1 comment
Open

colors中的点位相似度6.4.0以后的版本都出现问题了 #262

walkCCF opened this issue Oct 12, 2024 · 1 comment

Comments

@walkCCF
Copy link

walkCCF commented Oct 12, 2024

colors.isSimilar(colors.toString(color), "#FFFFFF", 10,"diff")
该段代码在6.4.0以后的版本中都报错,错误为:
TypeError: 对象 org.autojs.autojs.core.image.ColorDetector$WeightedRGBDistanceDetector@e1ff907 不存在方法 detectsColor. (file:///android_asset/modules/colors.js#626)
貌似detectsColor引用错误。

@SuperMonster003
Copy link
Owner

感谢反馈, 将于下一版本修复上述问题.

Sent from my XQ-DQ72 using FastHub

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