Skip to content

Commit

Permalink
Fix bug: allow selecting metarelations with arg = true
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Ericson committed Mar 17, 2021
1 parent 2424052 commit a1df7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function draw_metarelation_arg(draw_context, mei_graph, g_elem) {
toggle_shade(elem);
add_to_svg_bg_arg(svg_elem,g_elem);
added.push(g_elem);
elem.onclick = function(ev) {toggle_selected(g_elem,ev.shiftKey);};
g_elem.onclick = function(ev) {toggle_selected(g_elem,ev.shiftKey);};
g_elem.onmouseover = function (ev) {
targets.forEach((item) => { item.classList.add("relationhover"); });
}
Expand Down

0 comments on commit a1df7d1

Please sign in to comment.