diff --git a/pd/nw/dialog_canvas.html b/pd/nw/dialog_canvas.html index 0fdbf8dc2b536c62507acbfa40fa0f4573efd98a..f8baeca1393e30fb5f1eb21720c8535f64b6dfe6 100644 --- a/pd/nw/dialog_canvas.html +++ b/pd/nw/dialog_canvas.html @@ -693,6 +693,10 @@ function register_window_id(gfxstub, attr_objects) { } init_arrays(pd_garray_attrs); + // Disabling the menus does not yet work, so we hide that button for + // the moment + document.getElementsByClassName("no_menu")[0].style.setProperty("display", + "none"); // We don't turn on rendering of the "container" div until // We've finished displaying all the spans and populating the // labels and form elements. That makes it snappier, at least diff --git a/pd/nw/locales/en/translation.json b/pd/nw/locales/en/translation.json index 5490615cd9f2d169b50bb7e8a576b4bc6b76e214..2032010d8526513fd8ca91f3dd4843836ed8a4cd 100644 --- a/pd/nw/locales/en/translation.json +++ b/pd/nw/locales/en/translation.json @@ -305,9 +305,9 @@ "viewbox_offsets": "viewbox offsets", "arrays": "array options" }, - "no_scroll": "hide scrollbars", + "no_scroll": "hide scrollbars (experimental)", "no_scroll_tt": "hide window scrollbars", - "no_menu": "hide menu", + "no_menu": "hide menu (experimental)", "no_menu_tt": "hide window menu", "gop": "graph on parent", "gop_tt": "show the inner contents of this canvas in a rectangle on the containing canvas",