This commit is contained in:
Ilya Laktyushin 2020-08-10 01:24:24 +03:00
parent e4fef577d7
commit 8a4d640fa5
2 changed files with 2 additions and 2 deletions

View File

@ -1482,7 +1482,7 @@
break;
default:
frame = CGRectMake(screenEdges.right - 46 - _safeAreaInset.right - buttonInset, screenEdges.bottom - TGPhotoEditorToolbarSize - [_captionMixin.inputPanel baseHeight] - 45 - _safeAreaInset.bottom - panelInset, 44, 44);
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);
break;
}

View File

@ -614,7 +614,7 @@ public final class SemanticStatusNode: ASControlNode {
if parameters.hollow {
context.setBlendMode(.clear)
context.fillEllipse(in: bounds.insetBy(dx: 7.0, dy: 7.0))
context.fillEllipse(in: bounds.insetBy(dx: 7.0 - UIScreenPixel, dy: 7.0 - UIScreenPixel))
}
}
}