diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 81416cf1ea96dda7cb679da92c2a7386118b01a0..460958622cfc1fce75d64427db712370d0241d82 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -1870,12 +1870,12 @@ function gui_text_create_gobj(cid, tag, type, xpos, ypos, is_toplevel) { class: type + (is_toplevel !== 0 ? '' : ' gop') }); svg.appendChild(g); - var bluh = svg.getBBox(); - var bbox_rect = svg.getElementById('bbox_rect'); - bbox_rect.setAttributeNS(null, 'width', bluh.width); - bbox_rect.setAttributeNS(null, 'height', bluh.height); - bbox_rect.setAttributeNS(null, 'fill', 'none'); - bbox_rect.setAttributeNS(null, 'stroke', 'black'); +// var bluh = svg.getBBox(); +// var bbox_rect = svg.getElementById('bbox_rect'); +// bbox_rect.setAttributeNS(null, 'width', bluh.width); +// bbox_rect.setAttributeNS(null, 'height', bluh.height); +// bbox_rect.setAttributeNS(null, 'fill', 'none'); +// bbox_rect.setAttributeNS(null, 'stroke', 'black'); // hm... why returning g and not the return value of appendChild? // console.log("create gobj tag is " + tag + " and ret is " + g);