зеркало из https://github.com/github/Rebel.git
Stop RBLView turning on Autolayout.
This commit is contained in:
Родитель
a7652961b8
Коммит
6f250c143f
|
@ -148,17 +148,6 @@ static IMP RBLViewDrawRectIMP;
|
|||
}
|
||||
}
|
||||
|
||||
#pragma mark Layout
|
||||
|
||||
+ (BOOL)requiresConstraintBasedLayout {
|
||||
// Necessary for -layout to be consistently invoked.
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)layout {
|
||||
[super layout];
|
||||
}
|
||||
|
||||
#pragma mark View Hierarchy
|
||||
|
||||
// Before 10.8, AppKit may destroy the view's layer when changing superviews
|
||||
|
|
Загрузка…
Ссылка в новой задаче