* UISplitContainer: SplitterWidth值小的时不绘制箭头

This commit is contained in:
Sunny 2022-12-06 17:34:47 +08:00
parent e0e97e2e54
commit 5ed6aaf7a6

View File

@ -20,6 +20,7 @@
* 2022-04-03: V3.1.3
* 2022-04-20: V3.1.5 Collapse()/
* 2022-12-06: V3.3.0 SplitterWidth限制
* 2022-12-06: V3.3.0 SplitterWidth值小的时不绘制箭头
******************************************************************************/
using System;
using System.ComponentModel;
@ -387,6 +388,8 @@ namespace Sunny.UI
e.Graphics.SetDefaultQuality();
}
if (SplitterWidth >= 9)
{
switch (_collapsePanel)
{
case UICollapsePanel.Panel1:
@ -415,6 +418,7 @@ namespace Sunny.UI
break;
}
}
}
private Point[] GetHandlePoints()
{