-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
bugA bug in the code of Cytoscape.jsA bug in the code of Cytoscape.js
Description
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:
- Ensure that the reporter has included a reproducible demo. They can easily fork this JSBin demo: http://jsbin.com/fiqugiq
- The issue has been associated with a corresponding milestone.
- The commits have been incorporated into the corresponding branches. Bug-fix patches go on
-
master
and -
unstable
.
-
- The issue has been labelled as a
bug
, if necessary.
Metadata
Metadata
Assignees
Labels
bugA bug in the code of Cytoscape.jsA bug in the code of Cytoscape.js