Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: cursor for block options on Windows (#3052)

Richard Shiue13c72a31b7d9
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_button.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_button.dart
index 4b9db59375..25154cfcf1 100644
--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_button.dart
+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/actions/block_action_button.dart
@@ -1,3 +1,5 @@
+import 'dart:io';
+
import 'package:flowy_infra/image.dart';
import 'package:flowy_infra_ui/widget/ignore_parent_gesture.dart';
import 'package:flutter/material.dart';
@@ -22,7 +24,9 @@ class BlockActionButton extends StatelessWidget {
preferBelow: false,
richMessage: richMessage,
child: MouseRegion(
- cursor: SystemMouseCursors.grab,
+ cursor: Platform.isWindows
+ ? SystemMouseCursors.click
+ : SystemMouseCursors.grab,
child: IgnoreParentGestureWidget(
child: GestureDetector(
onTap: onTap,