hexo-helper-live2d icon indicating copy to clipboard operation
hexo-helper-live2d copied to clipboard

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

Open wLove-c opened this issue 5 years ago • 1 comments

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):

  • 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

wLove-c avatar Aug 29 '19 03:08 wLove-c

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

siwuxei avatar Aug 23 '20 19:08 siwuxei