Add pointer interaction to stretchy menu items

This commit is contained in:
Shadowfacts 2024-06-01 13:51:27 -07:00
parent ef215e8bdc
commit 6521c54a65
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,8 @@ private class MenuItemView: UIView {
addInteraction(UIContextMenuInteraction(delegate: self))
}
addInteraction(UIPointerInteraction())
addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(itemTapped)))
}