iOS: reset pivot to default
This commit is contained in:
parent
41b74312cb
commit
e822797166
@ -946,6 +946,8 @@ - (void)reset {
|
|||||||
|
|
||||||
self.view.layer.cornerRadius = 0;
|
self.view.layer.cornerRadius = 0;
|
||||||
self.view.layer.mask = nil;
|
self.view.layer.mask = nil;
|
||||||
|
|
||||||
|
self.view.layer.anchorPoint = CGPointMake(0.5f, 0.5f);
|
||||||
self.view.layer.borderWidth = 0;
|
self.view.layer.borderWidth = 0;
|
||||||
self.view.layer.borderColor = UIColor.clearColor.CGColor;
|
self.view.layer.borderColor = UIColor.clearColor.CGColor;
|
||||||
for (UIGestureRecognizer *gestureRecognizer in self.view.gestureRecognizers) {
|
for (UIGestureRecognizer *gestureRecognizer in self.view.gestureRecognizers) {
|
||||||
|
Reference in New Issue
Block a user