mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Fixed missing border colour as per bug #208
This commit is contained in:
parent
c2edd82e39
commit
8bd64ed4c6
@ -1060,7 +1060,7 @@ function augmentController(gui, li, controller) {
|
|||||||
} else if (controller instanceof ColorController) {
|
} else if (controller instanceof ColorController) {
|
||||||
dom.addClass(li, 'color');
|
dom.addClass(li, 'color');
|
||||||
controller.updateDisplay = common.compose(function(val) {
|
controller.updateDisplay = common.compose(function(val) {
|
||||||
li.style.borderLeftColor = controller.__color.toString();
|
li.style.borderLeftColor = controller.__color.toHexString();
|
||||||
return val;
|
return val;
|
||||||
}, controller.updateDisplay);
|
}, controller.updateDisplay);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user