diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index ba65943b2ce77248ac5710b41a40d4a5e9db949e..80a657e3eb04021b5597038c1bb36f3af93cc91a 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -4084,7 +4084,7 @@ function gui_canvas_popup(cid, xpos, ypos, canprop, canopen, isobject) { .getAttribute("viewBox").split(" "); // need top-left svg origin // Check nw.js version-- if its lts then we need the zoom_kludge... - zfactor = process.platform.nw === "0.14.7" ? zoom_kludge(zoom_level) : 1; + zfactor = process.versions.nw === "0.14.7" ? zoom_kludge(zoom_level) : 1; // Set the global popup x/y so they can be retrieved by the relevant // document's event handler popup_coords[0] = xpos;