Fix crash on iPad2. Closes #159

This commit is contained in:
Yury Melnichek 2011-03-30 00:46:36 +02:00 committed by Alex Zolotarev
parent 7e881b97b8
commit 93d829e2f0

View file

@ -158,7 +158,7 @@
[[self controller] onResize:self.frame.size.width * scaleFactor withHeight:self.frame.size.height * scaleFactor];
[self onSize:self.frame.size.width * scaleFactor withHeight:self.frame.size.height * scaleFactor];
[self drawView];
// This crashes on iPad: [self drawView];
}
- (void)dealloc