fix: missing the hand gesture icon in the text alignment options (#3509)

This commit is contained in:
Narayan 2023-09-24 19:12:11 +05:30 committed by GitHub
parent 6e887f1f12
commit 0996f5fd24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,14 +151,17 @@ class _AlignButton extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return GestureDetector( return MouseRegion(
onTap: onTap, cursor: SystemMouseCursors.click,
child: Tooltip( child: GestureDetector(
message: tooltips, onTap: onTap,
child: FlowySvg( child: Tooltip(
icon, message: tooltips,
size: const Size.square(16), child: FlowySvg(
color: Colors.white, icon,
size: const Size.square(16),
color: Colors.white,
),
), ),
), ),
); );