Skip to content

Commit 1627883

Browse files
committed
misc
1 parent 6fd8c79 commit 1627883

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

js/ui/menuUtils.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class MenuUtils {
7272
if ('merged' === trackView.track.type) {
7373
list.push('<hr/>')
7474
list.push(trackSeparationMenuItem())
75-
list.push('<hr/>')
7675
list.push(overlayTrackAlphaAdjustmentMenuItem())
7776
}
7877

@@ -135,19 +134,18 @@ function isVisibilityWindowType(track) {
135134
function overlayTrackAlphaAdjustmentMenuItem() {
136135

137136
const container = DOMUtils.div()
138-
container.innerText = 'Adjust Alpha'
137+
container.innerText = 'Set transparency'
139138

140139
function dialogPresentationHandler (e) {
141-
142140
const callback = value => {
143141
this.alpha = parseFloat(value)
144142
this.updateViews()
145143
}
146144

147145
const config =
148146
{
149-
label: 'Adjust Alpha',
150-
value: 0.5,
147+
label: 'Transparency',
148+
value: this.alpha,
151149
callback
152150
}
153151

0 commit comments

Comments
 (0)