Fixes Error Log context menu covering cell content

This commit is contained in:
Riley Testut
2022-10-26 17:20:16 -05:00
parent 42d433a11d
commit 915dd83015
2 changed files with 13 additions and 1 deletions

View File

@@ -8,6 +8,18 @@
import UIKit
@objc(ErrorLogMenuButton)
private class ErrorLogMenuButton: UIButton
{
@available(iOS 14.0, *)
override func menuAttachmentPoint(for configuration: UIContextMenuConfiguration) -> CGPoint
{
var point = super.menuAttachmentPoint(for: configuration)
point.y = self.bounds.midY
return point
}
}
@objc(ErrorLogTableViewCell)
class ErrorLogTableViewCell: UITableViewCell
{