Commit d8a175a5 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix regression where new iemguis weren't updating the base color

parent c12a324b
......@@ -2716,7 +2716,7 @@ function gui_iemgui_drawborder(cid, tag, bgcolor, x1, y1, x2, y2) {
g.appendChild(rect);
}
function gui_iemgui_border_color(cid, tag, color) {
function gui_iemgui_base_color(cid, tag, color) {
var b = get_gobj(cid, tag).querySelector('.border');
configure_item(b, { fill: color });
}
......
......@@ -1219,6 +1219,8 @@ void iemgui_base_draw_new(t_iemgui *x) {
colorbuf,
0,
x1, y1, x2, y2);
gui_vmess("gui_iemgui_base_color", "xxs",
canvas, x, colorbuf);
}
void iemgui_base_draw_move(t_iemgui *x) {
......@@ -1249,7 +1251,7 @@ void iemgui_base_draw_config(t_iemgui *x) {
// gui_s(bcol);
// gui_end_array();
// gui_end_vmess();
gui_vmess("gui_iemgui_border_color", "xxs",
gui_vmess("gui_iemgui_base_color", "xxs",
canvas, x, bcol);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment