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

Commit f680937

Browse files
committed
fix canSelectAll
1 parent 4d2118e commit f680937

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)