Commit 22fd508f authored by Jonathan Wilkes's avatar Jonathan Wilkes

another attempt to fix #214. A gui object outside of the GOP area will still...

another attempt to fix #214. A gui object outside of the GOP area will still send graphical updates to the GUI.  This needs to be addressed on the C side, but for now this fix should work
parent 55a895eb
......@@ -2296,7 +2296,9 @@ function gui_bng_button_color(cid, tag, color) {
var button;
if (patchwin[cid]) {
button = get_item(cid, tag + "button");
configure_item(button, { fill: color });
if (button) {
configure_item(button, { fill: color });
}
}
}
......
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