Bladeren bron

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

Narayan 1 jaar geleden
bovenliggende
commit
0996f5fd24

+ 11 - 8
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/align_toolbar_item/align_toolbar_item.dart

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