File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ class MenuUtils {
72
72
if ( 'merged' === trackView . track . type ) {
73
73
list . push ( '<hr/>' )
74
74
list . push ( trackSeparationMenuItem ( ) )
75
- list . push ( '<hr/>' )
76
75
list . push ( overlayTrackAlphaAdjustmentMenuItem ( ) )
77
76
}
78
77
@@ -135,19 +134,18 @@ function isVisibilityWindowType(track) {
135
134
function overlayTrackAlphaAdjustmentMenuItem ( ) {
136
135
137
136
const container = DOMUtils . div ( )
138
- container . innerText = 'Adjust Alpha '
137
+ container . innerText = 'Set transparency '
139
138
140
139
function dialogPresentationHandler ( e ) {
141
-
142
140
const callback = value => {
143
141
this . alpha = parseFloat ( value )
144
142
this . updateViews ( )
145
143
}
146
144
147
145
const config =
148
146
{
149
- label : 'Adjust Alpha ' ,
150
- value : 0.5 ,
147
+ label : 'Transparency ' ,
148
+ value : this . alpha ,
151
149
callback
152
150
}
153
151
You can’t perform that action at this time.
0 commit comments