Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

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

Open
2 tasks
wLove-c opened this issue Aug 29, 2019 · 1 comment

Comments

@wLove-c
Copy link

wLove-c commented Aug 29, 2019

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

@siwuxei
Copy link

siwuxei commented Aug 23, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants