Commit 74822bfb authored by Jonathan Wilkes's avatar Jonathan Wilkes

another attempt to fix #312: protect against out-of-order message border redraws

parent 26f2be1c
......@@ -1955,11 +1955,14 @@ function gui_message_flash(cid, tag, state) {
}
function gui_message_redraw_border(cid, tag, width, height) {
var g = get_gobj(cid, tag),
var g, b;
if (patchwin[cid]) {
g = get_gobj(cid, tag);
b = g.querySelector(".border");
configure_item(b, {
points: message_border_points(width, height),
});
configure_item(b, {
points: message_border_points(width, height),
});
}
}
function atom_border_points(width, height, is_dropdown) {
......
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