浏览代码

Merge pull request #226 from wglios/master

fix canSelectAll
/main
GitHub 5 年前
当前提交
4085e9b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/widgets/text_selection.cs

2
Runtime/widgets/text_selection.cs


}
public virtual bool canSelectAll(TextSelectionDelegate selectionDelegate) {
return selectionDelegate.textEditingValue.text.isEmpty() &&
return selectionDelegate.textEditingValue.text.isNotEmpty() &&
selectionDelegate.textEditingValue.selection.isCollapsed;
}

正在加载...
取消
保存