Skip to content

Commit 57f14ae

Browse files
committed
reshow floating words when nothing is selected and the search box is empty
1 parent 829965e commit 57f14ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/dictionary/dictionary.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class _DictionaryState extends State<Dictionary> with TickerProviderStateMixin {
108108
builder: ((context, constraints) {
109109

110110
// reset the floating words when the search was emptied
111-
if(search.currentSearch == "" && search.selectedResult != null) {
111+
if(search.currentSearch == "" && search.selectedResult == null) {
112112
floatingWordStackController?.reset();
113113
}
114114
// hide the falling words when a search starts

0 commit comments

Comments
 (0)