mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: cursor cannot be selected in same position.
This commit is contained in:
parent
29fe4811c3
commit
89a0a5599e
@ -64,8 +64,12 @@ class CursorWidgetState extends State<CursorWidget> {
|
|||||||
link: widget.layerLink,
|
link: widget.layerLink,
|
||||||
offset: widget.rect.topCenter,
|
offset: widget.rect.topCenter,
|
||||||
showWhenUnlinked: true,
|
showWhenUnlinked: true,
|
||||||
child: Container(
|
// Ignore the gestures in cursor
|
||||||
color: showCursor ? widget.color : Colors.transparent,
|
// to solve the problem that cursor area cannot be selected.
|
||||||
|
child: IgnorePointer(
|
||||||
|
child: Container(
|
||||||
|
color: showCursor ? widget.color : Colors.transparent,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user