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? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -