Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 3006c32

Browse files
authored
Merge pull request #226 from wglios/master
fix canSelectAll
2 parents 4d2118e + f680937 commit 3006c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/widgets/text_selection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public virtual bool canPaste(TextSelectionDelegate selectionDelegate) {
5151
}
5252

5353
public virtual bool canSelectAll(TextSelectionDelegate selectionDelegate) {
54-
return selectionDelegate.textEditingValue.text.isEmpty() &&
54+
return selectionDelegate.textEditingValue.text.isNotEmpty() &&
5555
selectionDelegate.textEditingValue.selection.isCollapsed;
5656
}
5757

0 commit comments

Comments
 (0)