зеркало из https://github.com/github/Rebel.git
Actually default clearsContextBeforeDrawing to YES
This commit is contained in:
Родитель
19a4c3143d
Коммит
0c0ca719f4
|
@ -75,6 +75,7 @@ static IMP RBLViewDrawRectIMP;
|
|||
|
||||
self.wantsLayer = YES;
|
||||
self.layerContentsPlacement = NSViewLayerContentsPlacementScaleAxesIndependently;
|
||||
self.clearsContextBeforeDrawing = YES;
|
||||
|
||||
if ([self.class doesCustomDrawing]) {
|
||||
// Use more conservative defaults if -drawRect: is overridden, to ensure
|
||||
|
|
Загрузка…
Ссылка в новой задаче