mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-01 12:43:03 +02:00
Fix an issue that could make the logo incorrectly positioned on a potential new iPhone model
This commit is contained in:
@@ -142,6 +142,9 @@ static bool HasHomeBar(void)
|
||||
CGRect rect = CGRectMake(0,
|
||||
range.location - range.length / 3,
|
||||
self.size.width, range.length * 2);
|
||||
if (self.size.width > self.size.height) {
|
||||
rect.origin.x += _cutout / 2;
|
||||
}
|
||||
NSMutableParagraphStyle *style = [NSParagraphStyle defaultParagraphStyle].mutableCopy;
|
||||
style.alignment = NSTextAlignmentCenter;
|
||||
[@"SAMEBOY" drawInRect:rect
|
||||
|
Reference in New Issue
Block a user