We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
setDanmakuTransparency 这方法后,在屏幕上的弹幕部分颜色会变深
The text was updated successfully, but these errors were encountered:
问题解决了,感觉是个bug ,弹幕在AndroidDisplayer 这个类里的draw() 里有这么个调用了resetPaintAlpha(mDisplayConfig.PAINT); 里面的语句为 if (paint.getAlpha() != AlphaValue.MAX) { paint.setAlpha(AlphaValue.MAX); } 导致了mDisplayConfig.PAINT的透明度被重置为最大的了,我是这样改的, 用mDisplayConfig.PAINT.setAlpha(mDisplayConfig.transparency());替换掉resetPaintAlpha
Sorry, something went wrong.
No branches or pull requests
setDanmakuTransparency 这方法后,在屏幕上的弹幕部分颜色会变深
The text was updated successfully, but these errors were encountered: