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

取色代码有问题 #23

Closed
Ashung opened this issue Jul 5, 2017 · 1 comment
Closed

取色代码有问题 #23

Ashung opened this issue Jul 5, 2017 · 1 comment

Comments

@Ashung
Copy link

Ashung commented Jul 5, 2017

colorReplace.js L64-L80, fills().firstObject() 是界面中最底层的项,如果遇到一个图层,关掉底层的填充而显示上层的填充,实际显示是有颜色的,这个代码是无法取到颜色的,应该使用
layer.style().enabledFills().lastObject() ,border 也同理。如下图。

image

@bugluo
Copy link
Collaborator

bugluo commented Jul 5, 2017

已修复

@bugluo bugluo closed this as completed Jul 6, 2017
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