Skip to content

Commit 9eaeb23

Browse files
committed
Remove legacy opacity values
1 parent e235f2e commit 9eaeb23

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sbgnStyle/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const sbgnStyleSheet = function (cytoscape) {
1717
'border-width': 1.5,
1818
'border-color': '#555',
1919
'background-color': '#f6f6f6',
20-
'background-opacity': 0.5,
2120
'text-opacity': 1,
2221
'opacity': 1,
2322
'text-outline-color': 'white',
@@ -32,7 +31,6 @@ const sbgnStyleSheet = function (cytoscape) {
3231
})
3332
.selector('node:active')
3433
.css({
35-
'background-opacity': 0.7,
3634
'overlay-color': '#d67614',
3735
'overlay-padding': '14'
3836
})
@@ -66,7 +64,7 @@ const sbgnStyleSheet = function (cytoscape) {
6664
`)
6765
.css({
6866
'ghost': 'yes',
69-
'ghost-opacity': 0.8
67+
'ghost-opacity': 1
7068
})
7169

7270
.selector(`
@@ -98,7 +96,6 @@ const sbgnStyleSheet = function (cytoscape) {
9896
.selector('node[class="complex"], node[class="complex multimer"], node[class="compartment"]')
9997
.css({
10098
'compound-sizing-wrt-labels': 'exclude',
101-
'background-opacity': .2,
10299
'text-valign': 'bottom',
103100
'text-halign': 'center',
104101
})

0 commit comments

Comments
 (0)