Unselect word on close word zoom card (#3451)
This commit is contained in:
parent
6809063a81
commit
245471f7a2
1 changed files with 2 additions and 3 deletions
|
|
@ -74,9 +74,8 @@ class WordZoomWidget extends StatelessWidget {
|
|||
child: MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
onTap: () => overlayController.updateSelectedSpan(
|
||||
token.text,
|
||||
),
|
||||
onTap: () =>
|
||||
overlayController.updateSelectedSpan(null),
|
||||
child: const Icon(
|
||||
Icons.close,
|
||||
size: 16.0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue