draw - Drawing to NSView within NSMenuItem is darkened -


i drawing coloured circle within nsview contained in nsmenuitem. when so, circle drawn in darker colour 1 specify , when add subview no drawing code, area occupied view drawn in true colour, illustrated image. explain me why happening , how fix it?

many thanks, ben.

enter image description here


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -

javascript - Why Selenium can't find an element that is graphically visible -