lectrote
lectrote copied to clipboard
Various menu options should be disabled in static windows (Mac)
In the About and Reference Card windows, that is.
I suppose the Zoom options could work, although I'd have to rethink the fixed-size-ness of those windows.
Or set up a new (reduced) menu set via browserwin.setMenu(menu) (non-Mac)
Done for Win/Linux -- the View menu is omitted.
Leaving open for Mac version. Dynamic menu state is not yet supported.
While I'm at it, disable the Cut and Paste options in static windows also. (Mac)
Actually, the Zoom In/Out menu options are now global rather than window-specific, so maybe this is all irrelevant.
Still applies to Cut and Paste, and also Reset Game.
It turns out you can enable/disable menu options on the Mac by setting the enabled property. We'd have to do this dynamically when a window is focused. Pain in the butt.