chore: Follow up select events

This commit is contained in:
Krille 2023-12-27 15:29:16 +01:00
commit e60bc1c340
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -426,8 +426,7 @@ class Message extends StatelessWidget {
), ),
direction: SwipeDirection.endToStart, direction: SwipeDirection.endToStart,
onSwipe: (_) => onSwipe(), onSwipe: (_) => onSwipe(),
child: HoverBuilder( child: GestureDetector(
builder: (context, hovered) => GestureDetector(
onTapDown: (details) { onTapDown: (details) {
lastTapDownDetails = details; lastTapDownDetails = details;
}, },
@ -437,7 +436,8 @@ class Message extends StatelessWidget {
} }
onSelect(event); onSelect(event);
}, },
child: Stack( child: HoverBuilder(
builder: (context, hovered) => Stack(
children: [ children: [
Container( Container(
constraints: const BoxConstraints( constraints: const BoxConstraints(