Skip to content

Commit 8a4d640

Browse files
committed
UI fixes
1 parent e4fef57 commit 8a4d640

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎submodules/LegacyComponents/Sources/TGMediaPickerGalleryInterfaceView.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ - (CGRect)_cameraButtonFrameForOrientation:(UIInterfaceOrientation)orientation s
14821482
break;
14831483

14841484
default:
1485-
frame = CGRectMake(screenEdges.right - 46 - _safeAreaInset.right - buttonInset, screenEdges.bottom - TGPhotoEditorToolbarSize - [_captionMixin.inputPanel baseHeight] - 45 - _safeAreaInset.bottom - panelInset, 44, 44);
1485+
frame = CGRectMake(screenEdges.right - 46 - _safeAreaInset.right - buttonInset, screenEdges.bottom - TGPhotoEditorToolbarSize - [_captionMixin.inputPanel baseHeight] - 45 - _safeAreaInset.bottom - panelInset - (hasHeaderView ? 64.0 : 0.0), 44, 44);
14861486
break;
14871487
}
14881488

‎submodules/SemanticStatusNode/Sources/SemanticStatusNode.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ public final class SemanticStatusNode: ASControlNode {
614614

615615
if parameters.hollow {
616616
context.setBlendMode(.clear)
617-
context.fillEllipse(in: bounds.insetBy(dx: 7.0, dy: 7.0))
617+
context.fillEllipse(in: bounds.insetBy(dx: 7.0 - UIScreenPixel, dy: 7.0 - UIScreenPixel))
618618
}
619619
}
620620
}

0 commit comments

Comments
 (0)