Disable NSVisualEffectView in Source List NSTableView

后端 未结 2 536
清歌不尽
清歌不尽 2021-01-13 13:49

I have an older application that has a specific appearance based on NSCell-based NSTableView having Source List highlighting. Unfortunately, on Yosemite this adds the NSVisu

2条回答
  •  野的像风
    2021-01-13 14:34

    I don't know if it works for your case, but the best way to disable an implicit visual effect view is to just embed your NSTable/OutlineView in another NSVisualEffectView and set that views state to inactive

    visualEffectView.state = .inactive
    

提交回复
热议问题