Fix right-clicking delegates again

I accidentally broke this while trying to dance around the two new
overlapping TapHandlers, but this didn't work. What ended up happening
is that you couldn't right-click non-message delegates anymore (such as
images, files, etc.)

I *still* couldn't figure out how to get overlapping TapHandlers to
work, so I just switched to a MouseArea instead. This makes everything
work as expected now.
This commit is contained in:
Joshua Goins
2025-05-20 16:23:33 -04:00
parent de8c9f4878
commit d895f8d771
2 changed files with 7 additions and 8 deletions

View File

@@ -148,8 +148,8 @@ MessageDelegateBase {
showBackground: root.cardBackground && !NeoChatConfig.compactLayout
TapHandler {
acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
acceptedButtons: Qt.RightButton
gesturePolicy: TapHandler.ReleaseWithinBounds
onTapped: _private.showMessageMenu()
}