* UIPanel: 滚动条打开时滚动后自动刷新

This commit is contained in:
Sunny 2022-01-26 10:27:07 +08:00
parent 5e36d5a669
commit 7f300b800c
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -691,5 +691,11 @@ namespace Sunny.UI
} }
} }
} }
protected override void OnScroll(ScrollEventArgs se)
{
base.OnScroll(se);
if (AutoScroll) Invalidate();
}
} }
} }