File tree 2 files changed +3
-3
lines changed
app/shared/ui/pattern-player 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
< ul class ="dropdown-menu bb-pattern-player-stokes-dropdown-menu ">
2
2
< li ng-class ="{active: !pattern[instrumentKey][i] || pattern[instrumentKey][i]==' '} "> < a href ="javascript: " ng-click ="pattern[instrumentKey][i]=' ' "> </ a > </ li > < li
3
- ng-repeat ="stroke in config.instruments[instrumentKey].strokes " ng-class ="{active: pattern[instrumentKey][i]==stroke} "> < a href ="javascript: " ng-click ="pattern[instrumentKey][i]=stroke "> {{config.strokes[stroke]}}</ a > </ li >
3
+ ng-repeat ="stroke in config.instruments[instrumentKey].strokes " ng-class ="{active: pattern[instrumentKey][i]==stroke} "> < a href ="javascript: " ng-click ="pattern[instrumentKey][i]=stroke " uib-tooltip =" {{config.strokesDescription[stroke]}} " > {{config.strokes[stroke]}}</ a > </ li >
4
4
</ ul >
Original file line number Diff line number Diff line change 35
35
< a href ="javascript: " ng-click ="mute(instrumentKey) " ng-class ="playerOptions.mute[instrumentKey] ? 'active' : 'inactive' "> < span class ="glyphicon glyphicon-volume-off "> </ span > </ a >
36
36
</ td >
37
37
< td ng-repeat ="(i,a) in utils.getNumber(pattern.length*pattern.time) track by $index " class ="stroke " ng-class ="getStrokeClass(i) ">
38
- < span ng-if ="!editable " class ="stroke-inner "> {{config.strokes[pattern[instrumentKey][i]] || ' '}}</ span >
39
- < a ng-if ="editable && !strokeDropdownOpen " href ="javascript: " tabindex ="0 " class ="stroke-inner " uib-popover-template ="'app/shared/ui/pattern-player/pattern-player-stroke-dropdown.html' " popover-placement ="bottom " popover-trigger ="focus "> {{config.strokes[pattern[instrumentKey][i]] || ' '}}</ a >
38
+ < span ng-if ="!editable " class ="stroke-inner " uib-tooltip =" {{config.strokesDescription[pattern[instrumentKey][i]]}} " > {{config.strokes[pattern[instrumentKey][i]] || ' '}}</ span >
39
+ < a ng-if ="editable && !strokeDropdownOpen " href ="javascript: " tabindex ="0 " class ="stroke-inner " uib-tooltip =" {{config.strokesDescription[pattern[instrumentKey][i]]}} " uib- popover-template ="'app/shared/ui/pattern-player/pattern-player-stroke-dropdown.html' " popover-placement ="bottom " popover-trigger ="focus "> {{config.strokes[pattern[instrumentKey][i]] || ' '}}</ a >
40
40
</ td >
41
41
</ tr >
42
42
</ tbody >
You can’t perform that action at this time.
0 commit comments