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,
|
||||
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 New Issue
Block a user