EYHN / hexo-helper-live2d

Add the Sseexxyyy live2d to your hexo!
GNU General Public License v2.0
3.86k stars 469 forks source link

using the value opacityDefault and opacityOnHover of react has no effect 、使用react为opacityDefault和opacityOnHover没效果,但直接设置透明度就可以 #147

Open wLove-c opened 5 years ago

wLove-c commented 5 years ago

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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):

Additional context Add any other context about the problem here.

Change the [ ] into [x] to show myacceptance.

@EYHN @xiazeyu

siwuxei commented 4 years ago

me too! I adjust 3h, it still don't show! only this way!