From: Steinar H. Gunderson Date: Sat, 23 Nov 2013 21:24:13 +0000 (+0100) Subject: Fix the arrow head color. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=e6178fd2e08d1dd1ac9d04bee808a9131d3b7c47 Fix the arrow head color. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 1fd6c23..d4dad05 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -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 });