Fix dice tooltip layout on iPhone X

This commit is contained in:
Ilya Laktyushin 2020-04-17 19:21:08 +04:00
parent 1c23355ae5
commit f17a6f95fa

View File

@ -462,7 +462,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
let rightInset: CGFloat = 16.0
var contentHeight: CGFloat = 20.0
let margin: CGFloat = 16.0
let margin: CGFloat = 12.0
let buttonTextSize = self.undoButtonTextNode.updateLayout(CGSize(width: 200.0, height: .greatestFiniteMagnitude))
let buttonMinX: CGFloat