mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 10:43:30 +01:00
Fixes Error Log context menu covering cell content
This commit is contained in:
@@ -8,6 +8,18 @@
|
|||||||
|
|
||||||
import UIKit
|
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)
|
@objc(ErrorLogTableViewCell)
|
||||||
class ErrorLogTableViewCell: UITableViewCell
|
class ErrorLogTableViewCell: UITableViewCell
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -949,7 +949,7 @@ Settings by i cons from the Noun Project</string>
|
|||||||
</textView>
|
</textView>
|
||||||
</subviews>
|
</subviews>
|
||||||
</stackView>
|
</stackView>
|
||||||
<button opaque="NO" contentMode="scaleToFill" showsMenuAsPrimaryAction="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ba2-EY-tf5">
|
<button opaque="NO" contentMode="scaleToFill" showsMenuAsPrimaryAction="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ba2-EY-tf5" customClass="ErrorLogMenuButton">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="343" height="107.5"/>
|
<rect key="frame" x="0.0" y="0.0" width="343" height="107.5"/>
|
||||||
<accessibility key="accessibilityConfiguration">
|
<accessibility key="accessibilityConfiguration">
|
||||||
<bool key="isElement" value="NO"/>
|
<bool key="isElement" value="NO"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user