Skip to content
Snippets Groups Projects
Commit 10449498 authored by echicken's avatar echicken :chicken:
Browse files

Don't get colors that already done got gotten. Fixes #752

parent 6614794d
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -4,6 +4,7 @@ load("tree.js");
load("scrollbar.js");
load("funclib.js");
load("filebrowser.js");
var cgadefs = load({}, "cga_defs.js");
var Ansi = load({}, "ansiterm_lib.js");
var Sauce = load({}, "sauce_lib.js");
var Graphic = load({}, "graphic.js");
......@@ -234,10 +235,10 @@ function GalleryChooser() {
browserFrame
);
tree = new Tree(frame);
tree.colors.fg = getColor(settings.fg);
tree.colors.bg = getColor(settings.bg);
tree.colors.lfg = getColor(settings.lfg);
tree.colors.lbg = getColor(settings.lbg);
tree.colors.fg = settings.fg;
tree.colors.bg = settings.bg;
tree.colors.lfg = settings.lfg;
tree.colors.lbg = settings.lbg;
getList().forEach(function (e) {
e.colors = settings;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment