From 6521c54a653b028f9b7700a6d589a152dfe5334c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 1 Jun 2024 13:51:27 -0700 Subject: [PATCH] Add pointer interaction to stretchy menu items --- Reader/StretchyMenuInteraction.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Reader/StretchyMenuInteraction.swift b/Reader/StretchyMenuInteraction.swift index 6a46cea..65d2059 100644 --- a/Reader/StretchyMenuInteraction.swift +++ b/Reader/StretchyMenuInteraction.swift @@ -362,6 +362,8 @@ private class MenuItemView: UIView { addInteraction(UIContextMenuInteraction(delegate: self)) } + addInteraction(UIPointerInteraction()) + addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(itemTapped))) }