thormagnusson / ixilang

A live coding language. An extension to SuperCollider, currently Cocoa only.
GNU General Public License v3.0
86 stars 9 forks source link

Don't clear all custom Menus #2

Open cappelnord opened 11 years ago

cappelnord commented 11 years ago

Hi,

CocoaMenuItem.clearCustomItems; in XiiLang:addixiMenu is kind of harsh, as it's clearing my own live coding shortcuts every time I instantiate XiiLang.

If it's only for not duplicating the XiiLang menus it would be better to keep book of the SCMenuGroup and just clear that.

(Commented it out in my local version at the moment)

cheers, Patrick

thormagnusson commented 11 years ago

On 31 Oct 2012, at 14:54, Patrick Borgeat wrote:

Hi,

CocoaMenuItem.clearCustomItems; in XiiLang:addixiMenu is kind of harsh, as it's clearing my own live coding shortcuts every time I instantiate XiiLang.

Ouch. That's kind of harsh yes. Didn't realise.

I'll comment it out.

Thanks thor

If it's only for not duplicating the XiiLang menus it would be better to keep book of the SCMenuGroup and just clear that.

(Commented it out in my local version at the moment)