mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-23 17:18:31 +00:00
fix: cursor cannot be selected in same position.
This commit is contained in:
parent
29fe4811c3
commit
89a0a5599e
1 changed files with 6 additions and 2 deletions
|
|
@ -64,8 +64,12 @@ class CursorWidgetState extends State<CursorWidget> {
|
|||
link: widget.layerLink,
|
||||
offset: widget.rect.topCenter,
|
||||
showWhenUnlinked: true,
|
||||
child: Container(
|
||||
color: showCursor ? widget.color : Colors.transparent,
|
||||
// Ignore the gestures in cursor
|
||||
// to solve the problem that cursor area cannot be selected.
|
||||
child: IgnorePointer(
|
||||
child: Container(
|
||||
color: showCursor ? widget.color : Colors.transparent,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue