Stills fixing x offset of notch

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2021-02-19 17:46:40 +07:00
1 parent f51a7fbe20
commit d261fe97d3
1 file changed
+2 -2
+2 -2
View File
@@ -78,9 +78,9 @@ int notchOffset;
savedWidth = roundf(width * screenScale);
savedHeight = roundf(height * screenScale);
width = width - insets.top;
width = width - insets.left - insets.right;
height = height - insets.bottom;
notchOffset = insets.top;
notchOffset = insets.left;
touchView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, width, height)];