Fixed missing border colour as per bug #208

This commit is contained in:
David Wakelin 2019-04-09 18:04:00 +01:00
parent c2edd82e39
commit 8bd64ed4c6

View File

@ -1060,7 +1060,7 @@ function augmentController(gui, li, controller) {
} else if (controller instanceof ColorController) {
dom.addClass(li, 'color');
controller.updateDisplay = common.compose(function(val) {
li.style.borderLeftColor = controller.__color.toString();
li.style.borderLeftColor = controller.__color.toHexString();
return val;
}, controller.updateDisplay);