* UINavMenu: 修复通过代码设置背景色无效的问题

This commit is contained in:
Sunny 2024-04-13 17:54:00 +08:00
parent d21e26da0c
commit 0f9c6c0c62

View File

@ -37,6 +37,7 @@
* 2023-05-16: V3.3.6 DrawFontImage函数 * 2023-05-16: V3.3.6 DrawFontImage函数
* 2023-05-29: V3.3.7 PageGuid相关扩展方法 * 2023-05-29: V3.3.7 PageGuid相关扩展方法
* 2023-11-16: V3.5.2 * 2023-11-16: V3.5.2
* 2024-04-13: V3.6.5
******************************************************************************/ ******************************************************************************/
using System; using System;
@ -259,6 +260,7 @@ namespace Sunny.UI
if (backColor != value) if (backColor != value)
{ {
backColor = value; backColor = value;
base.BackColor = value;
menuStyle = UIMenuStyle.Custom; menuStyle = UIMenuStyle.Custom;
Invalidate(); Invalidate();
} }