Skip to content
Snippets Groups Projects
Commit e2a83dc4 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

protect against another out-of-order message from Pd

parent b65d3a59
No related branches found
No related tags found
No related merge requests found
......@@ -2008,8 +2008,11 @@ function atom_arrow_points(width, height) {
function gui_atom_draw_border(cid, tag, type, width, height) {
var g = get_gobj(cid, tag),
polygon, arrow, m;
var g, polygon, arrow, m;
if (!patchwin[cid]) {
return;
}
g = get_gobj(cid, tag),
polygon = create_item(cid, "polygon", {
points: atom_border_points(width, height, type !== 0),
fill: "none",
......
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