objective c - Custom NSScrollers having weird effect from Core Animation -


I am creating custom NSScrollers for use in NSScrollView but when the core animation is enabled for any supervision of the nsscroller This drawing issue is a big obstacle. Whenever I see the scroll scrollers clip in the corners of the scroll, but if the drawing starts in a scroller corner, the scroller part is in that corner. What could be causing this problem? I have a lot of code to show up here, but here is my drawing code:

  NSRect nebrct = [self-reformfoot: NScrolanob]; NSBezierPath * Path = [NSBZearpath BijierPathwithRecommendation: Curvature XRadius: CornerRadius yRadius: CornerRadius]; [Route set linewiki: 2]; [[Enkolor Color with Divisced: 0.114 Green: 0.114 Blue: 0.114 Alpha: 0.3] Set]; [Path filled]; [[Enkolar color with device wight: 1.0 alpha: 0.100] set]; // clip clip on this path; Do not remove anything out of the way [Path adclip]; [Path stroke];  

I tried to get rid of everything except filling, but it did not work. If I call setNeedsDisplay, then this problem is resolved: YES on super view on the name of the setflat value.

It seems that to answer the problem It looks:
[auto setArezopa: NSScrollerArrowsNone]; And it works magical: D

Edit, but when I pull the scrollbar, I get the same effect: '(What's the graphics without redrawing ScrollView Is there no way to clean it ?: (


Comments