I am trying to get my NSScrollView
(and therefore containing NSOutlineView
) to use the blurry NSVisualEffectView
shutter blending effect.
I successfully made the NSVisualEffectView
container view and placed the scroll view as a subtitle. This seems to work fine (as long as I make all of my tables, tables, nsscrollview, etc. transparent).
However, now I have enabled “Reduce Transparency” in the “Accessibility Options” section, and suddenly I have a black background behind my NSScrollView
. I tried to subclass the visual effect to override the drawRect
method so that I could paint my own background, but I just found out that this is not possible or recommended.
How do I determine if the Reduce Transparency feature is enabled, and how do I dynamically scroll the scroll dynamically?
source share