Environment info
- Cytoscape.js version : 3.34.0-unstable
- Browser/Node.js & version : Node v20.19.2, Chrome 139
Current (buggy) behaviour
When in webgl mode, child nodes don't inherit their opacity from the parent node.
Desired behaviour
Should work the same as when in canvas mode.
Minimum steps to reproduce
I used the debug/webgl/index.html site. Change to the "Compound Nodes" network. Go to the network-compound-nodes.json file and set the parent selector opacity to 0.5. Compare how it looks when webgl is enabled vs disabled.
Fork/clone this JSBin demo and reproduce your issue so that your issue can be addressed quickly and effectively:
- Go to our base JSBin: http://jsbin.com/fiqugiq
- Click the 'Edit in JSBin' button in the top-right corner.
- Click File > Clone to make your own copy of the demo (with its own unique URL) that you can edit.
- Click the yellow 'Login or Register' button at the top-right corner so that your JSBin persists longer-term.
- Log in with your GitHub account.
- Edit the JSBin to reproduce your issue.
- When you're finished editing, click 'File > Save snapshot` (command + s) to save your edits.
- Post the link to your JSBin here.
For reviewers
Reviewers should ensure that the following tasks are carried out for incorporated issues:
Environment info
Current (buggy) behaviour
When in webgl mode, child nodes don't inherit their opacity from the parent node.
Desired behaviour
Should work the same as when in canvas mode.
Minimum steps to reproduce
I used the
debug/webgl/index.htmlsite. Change to the "Compound Nodes" network. Go to thenetwork-compound-nodes.jsonfile and set the parent selector opacity to 0.5. Compare how it looks when webgl is enabled vs disabled.Fork/clone this JSBin demo and reproduce your issue so that your issue can be addressed quickly and effectively:
For reviewers
Reviewers should ensure that the following tasks are carried out for incorporated issues:
masterandunstable.bug, if necessary.