* UIListBox: 修复在选中某一项后,清除选中项需要两次操作
This commit is contained in:
parent
b3bc0cdc65
commit
53683cf884
Binary file not shown.
@ -25,7 +25,8 @@
|
||||
* 2021-07-30: V3.0.5 选中项显示方角
|
||||
* 2021-08-04: V3.0.5 增加Items变更的事件
|
||||
* 2021-12-29: V3.0.9 增加修改文字颜色
|
||||
* 2022-02-23: V3.1.1 按键上下移动选择项目时,滚动条跟谁
|
||||
* 2022-02-23: V3.1.1 按键上下移动选择项目时,滚动条跟随
|
||||
* 2022-03-08: V3.1.1 修复在选中某一项后,清除选中项需要两次操作
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
@ -164,6 +165,7 @@ namespace Sunny.UI
|
||||
|
||||
public void ClearSelected()
|
||||
{
|
||||
listbox.SelectedIndex = -1;
|
||||
listbox.ClearSelected();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user