hexo-helper-live2d
hexo-helper-live2d copied to clipboard
using the value opacityDefault and opacityOnHover of react has no effect 、使用react为opacityDefault和opacityOnHover没效果,但直接设置透明度就可以
Describe the bug
live2d:
enable: true
pluginModelPath: assets/
model:
use: live2d-widget-model-shizuku
display:
position: left
width: 300
height: 600
mobile:
show: true #是否在手机进行显示
scale: 0.3
react:
# opacity: 0.7 # 透明度设置
opacityDefault: 0.7
opacityOnHover: 0.2
It is no effect that I use it as above;
To Reproduce Steps to reproduce the behavior:
config in _config.yml
:
live2d:
URL:
Turn log
config to true
to show verbose debug output.
Console output:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error of '...'
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Device: [e.g. iPhone 6, PC]
- OS: [e.g. iOS 8.1, Windows 10]
- Browser [e.g. Chrome 66, Safari 11.2]
- hexo-helper-live2d: [e.g. 3.0.0]
use
npm ls hexo-helper-live2d
to get current plugin's version.
Additional context Add any other context about the problem here.
-
[ ] I have alreday read instructions in CONTRIBUTING.
-
[ ] I have alreday read instructions in README.
Change the
[ ]
into[x]
to show myacceptance.
@EYHN @xiazeyu
me too! I adjust 3h, it still don't show! only this way!