fix: the cursor shows sometimes when tapping the checkbox

This commit is contained in:
Lucas.Xu 2022-11-28 18:44:48 +08:00
parent 0e55cd07a4
commit 52ba0c0092

View File

@ -84,6 +84,7 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
GestureDetector(
key: iconKey,
child: icon,
behavior: HitTestBehavior.opaque,
onTap: () async {
await widget.editorState.formatTextToCheckbox(
widget.editorState,