Fixed an issue with colors based on arrays where the colored tab in the UI was black instead of matching the current color.

This commit is contained in:
Kevin Barabash 2014-10-16 20:18:42 -06:00
parent fc6ec04c48
commit 14cca9bd26
4 changed files with 23 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -834,7 +834,11 @@ define([
var li = addRow(gui, container, params.before);
dom.addClass(li, GUI.CLASS_CONTROLLER_ROW);
if (controller instanceof ColorController) {
dom.addClass(li, "color");
} else {
dom.addClass(li, typeof controller.getValue());
}
augmentController(gui, li, controller);

View File

@ -249,6 +249,8 @@
background-image: url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlGIWqMCbWAEAOw==); }
.dg .cr.boolean {
border-left: 3px solid #806787; }
.dg .cr.color {
border-left: 3px solid; }
.dg .cr.function {
border-left: 3px solid #e61d5f; }
.dg .cr.number {

View File

@ -135,6 +135,10 @@ $input-color: lighten($background-color, 8.5%);
border-left: 3px solid $boolean-color;
}
&.color {
border-left: 3px solid;
}
&.function {
border-left: 3px solid $function-color;
}