]> git.sesse.net Git - remoteglot/commitdiff
Fix the arrow head color.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 23 Nov 2013 21:24:13 +0000 (22:24 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 23 Nov 2013 21:24:13 +0000 (22:24 +0100)
www/js/remoteglot.js

index 1fd6c2365535cf3c6a67fc387220ea96725a03e1..d4dad05863d81e79e74e2a368602ef00798c8490 100644 (file)
@@ -264,7 +264,7 @@ var position_arrow = function(arrow) {
        head.setAttribute("xmlns", XHTML_NS);
        head.setAttribute("stroke", "#000");
        head.setAttribute("stroke-width", "1");
-       head.setAttribute("fill", "#f66");
+       head.setAttribute("fill", arrow.fg_color);
        svg.appendChild(head);
 
        $(svg).css({ top: pos.top, left: pos.left });